diff --git a/Slax/debian10/build b/Slax/debian10/build index e7daa99..55a627d 100755 --- a/Slax/debian10/build +++ b/Slax/debian10/build @@ -22,5 +22,11 @@ apt-get install aufs-dkms linux-headers-$(uname -r) --yes cd initramfs . ./initramfs_create +# unpack the sb archive and add aufs modules to /lib/modules +unsquashfs $LIVEKITDATA/$LIVEKITNAME/slax/01-core.sb +cp -a /$LMK/kernel/fs/aufs $LIVEKITDATA/$LIVEKITNAME/slax/squashfs-root/$LMK/kernel/fs +rm -f $LIVEKITDATA/$LIVEKITNAME/slax/01-core.sb +mksquashfs $LIVEKITDATA/$LIVEKITNAME/slax/squashfs-root $LIVEKITDATA/$LIVEKITNAME/01-core.$BEXT -comp xz -b 1024K -always-use-fragments || exit + mv -f $INITRAMFS.img $LIVEKITDATA/$LIVEKITNAME/boot/initrfs.img cp -vf $THIS/bootfiles/* $LIVEKITDATA/$LIVEKITNAME/boot/