bugfix
parent
9e41cd8253
commit
2c2e73992f
|
|
@ -23,10 +23,12 @@ cd initramfs
|
||||||
. ./initramfs_create
|
. ./initramfs_create
|
||||||
|
|
||||||
# unpack the sb archive and add aufs modules to /lib/modules
|
# unpack the sb archive and add aufs modules to /lib/modules
|
||||||
unsquashfs $LIVEKITDATA/$LIVEKITNAME/slax/01-core.sb
|
cd $LIVEKITDATA/$LIVEKITNAME
|
||||||
cp -a /$LMK/kernel/fs/aufs $LIVEKITDATA/$LIVEKITNAME/slax/squashfs-root/$LMK/kernel/fs
|
unsquashfs 01-core.$BEXT
|
||||||
rm -f $LIVEKITDATA/$LIVEKITNAME/slax/01-core.sb
|
cp -a /$LMK/kernel/fs/aufs squashfs-root/$LMK/kernel/fs
|
||||||
mksquashfs $LIVEKITDATA/$LIVEKITNAME/slax/squashfs-root $LIVEKITDATA/$LIVEKITNAME/01-core.$BEXT -comp xz -b 1024K -always-use-fragments || exit
|
rm -f 01-core.$BEXT
|
||||||
|
mksquashfs squashfs-root 01-core.$BEXT -comp xz -b 1024K -always-use-fragments || exit
|
||||||
|
rm -Rf squashfs-root
|
||||||
|
|
||||||
mv -f $INITRAMFS.img $LIVEKITDATA/$LIVEKITNAME/boot/initrfs.img
|
mv -f $INITRAMFS.img $LIVEKITDATA/$LIVEKITNAME/boot/initrfs.img
|
||||||
cp -vf $THIS/bootfiles/* $LIVEKITDATA/$LIVEKITNAME/boot/
|
cp -vf $THIS/bootfiles/* $LIVEKITDATA/$LIVEKITNAME/boot/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue