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
|
cat bootfiles/bootinst.bat | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" | sed -r "s:\\\\boot\\\\:\\\\$LIVEKITNAME\\\\boot\\\\:" > $BOOT/bootinst.bat
|
||||||
cp $VMLINUZ $BOOT/
|
cp $VMLINUZ $BOOT/
|
||||||
|
|
||||||
# create compressed core.sb
|
# create compressed 01-core.sb
|
||||||
COREFS=""
|
COREFS=""
|
||||||
for i in $MKMOD; do
|
for i in $MKMOD; do
|
||||||
if [ -d /$i ]; then
|
if [ -d /$i ]; then
|
||||||
COREFS="$COREFS /$i"
|
COREFS="$COREFS /$i"
|
||||||
fi
|
fi
|
||||||
done
|
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"
|
cd "$LIVEKITDATA"
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue