diff --git a/build b/build index 7203961..9105965 100755 --- a/build +++ b/build @@ -31,6 +31,7 @@ rm -Rf "$LIVEKITDATA" BOOT="$LIVEKITDATA"/"$LIVEKITNAME"/boot mkdir -p "$BOOT" mkdir -p "$BOOT"/../changes +mkdir -p "$BOOT"/../modules mv "$INITRAMFS" $BOOT/initrfs.img cp bootfiles/* $BOOT cat bootfiles/syslinux.cfg | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" > $BOOT/syslinux.cfg diff --git a/livekitlib b/livekitlib index c071950..8f510fa 100644 --- a/livekitlib +++ b/livekitlib @@ -392,7 +392,7 @@ persistent_changes() mke2fs -F "$2/loop.fs" >/dev/null fi mount -o loop,sync "$2/loop.fs" "$2" - rmdir "$2/lost+found" + rmdir "$2/lost+found" 2>/dev/null else echo "* Activating native persistent changes" mount --bind "$CHANGES" "$2"