make core module 01-core
parent
e1f8ae8290
commit
03e97aed7b
4
build
4
build
|
|
@ -54,14 +54,14 @@ cat bootfiles/syslinux.cfg | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" > $BOOT/sysl
|
|||
cat bootfiles/bootinst.bat | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" | sed -r "s:\\\\boot\\\\:\\\\$LIVEKITNAME\\\\boot\\\\:" > $BOOT/bootinst.bat
|
||||
cp $VMLINUZ $BOOT/
|
||||
|
||||
# create compressed core.sb
|
||||
# create compressed 01-core.sb
|
||||
COREFS=""
|
||||
for i in $MKMOD; do
|
||||
if [ -d /$i ]; then
|
||||
COREFS="$COREFS /$i"
|
||||
fi
|
||||
done
|
||||
mksquashfs $COREFS $LIVEKITDATA/$LIVEKITNAME/core.$BEXT -comp xz -b 512k -keep-as-directory || exit
|
||||
mksquashfs $COREFS $LIVEKITDATA/$LIVEKITNAME/01-core.$BEXT -comp xz -b 512k -keep-as-directory || exit
|
||||
|
||||
cd "$LIVEKITDATA"
|
||||
ARCH=$(uname -m)
|
||||
|
|
|
|||
Loading…
Reference in New Issue