Skip to content

Commit 19d0e65

Browse files
committed
build framework rootfs-create - remove unneeded DEBOOTSTRAP_DIR, per rabbit
1 parent a61c8d9 commit 19d0e65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/functions/rootfs/rootfs-create.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function create_new_rootfs_cache_via_debootstrap() {
110110
debootstrap_arguments+=("${RELEASE}" "${SDCARD}/" "${debootstrap_apt_mirror}") # release, path and mirror; always last, positional arguments.
111111

112112
# Set DEBOOTSTRAP_DIR only for this invocation; if we instead export it, the second stage will fail
113-
run_host_command_logged "DEBOOTSTRAP_DIR='${debootstrap_wanted_dir}'" "${debootstrap_bin}" "${debootstrap_arguments[@]}" || {
113+
run_host_command_logged "${debootstrap_bin}" "${debootstrap_arguments[@]}" || {
114114
exit_with_error "Debootstrap first stage failed" "${debootstrap_bin} ${RELEASE} ${DESKTOP_APPGROUPS_SELECTED} ${DESKTOP_ENVIRONMENT} ${BUILD_MINIMAL}"
115115
}
116116

0 commit comments

Comments
 (0)