repackage core module to include aufs
parent
31c1e64cec
commit
9e41cd8253
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in New Issue