repackage core module to include aufs

master
TomasM 2019-10-19 19:40:01 +00:00
parent 31c1e64cec
commit 9e41cd8253
1 changed files with 6 additions and 0 deletions

View File

@ -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/