source config/binary in 032-installer-squashfs.binary

ubuntu/cosmic
Michael Hudson-Doyle 7 years ago
parent 3e69d30c9e
commit 27eaa9328a

@ -336,6 +336,7 @@ recreate_initramfs() {
# around. Beware that this was written for a single use case # around. Beware that this was written for a single use case
# (live-server) and may not work in all cases without # (live-server) and may not work in all cases without
# tweaking... # tweaking...
# config/binary must be sourced before calling this function.
CHROOT="$1" CHROOT="$1"
# Start by cargo culting bits of lb_chroot_hacks: # Start by cargo culting bits of lb_chroot_hacks:
if [ -n "$LB_INITRAMFS_COMPRESSION" ]; then if [ -n "$LB_INITRAMFS_COMPRESSION" ]; then

@ -22,6 +22,7 @@ if [ -n "$SUBARCH" ]; then
fi fi
. config/functions . config/functions
. config/binary
SQUASH_ROOT=binary/boot/squashfs.dir SQUASH_ROOT=binary/boot/squashfs.dir
OVERLAY_ROOT=binary/overlay OVERLAY_ROOT=binary/overlay

Loading…
Cancel
Save