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