copy all files from bootfiles, not just the named ones
This commit is contained in:
@@ -30,11 +30,7 @@ rm -Rf "$LIVEKITDATA"
|
|||||||
BOOT="$LIVEKITDATA"/"$LIVEKITNAME"/boot
|
BOOT="$LIVEKITDATA"/"$LIVEKITNAME"/boot
|
||||||
mkdir -p "$BOOT"
|
mkdir -p "$BOOT"
|
||||||
mv "$INITRAMFS" $BOOT/initrfs.img
|
mv "$INITRAMFS" $BOOT/initrfs.img
|
||||||
cp bootfiles/isolinux.bin $BOOT
|
cp bootfiles/* $BOOT
|
||||||
cp bootfiles/vesamenu.c32 $BOOT
|
|
||||||
cp bootfiles/bootlogo.png $BOOT
|
|
||||||
cp bootfiles/syslinux.exe $BOOT
|
|
||||||
cp bootfiles/syslinux.com $BOOT
|
|
||||||
cat bootfiles/syslinux.cfg | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" > $BOOT/syslinux.cfg
|
cat bootfiles/syslinux.cfg | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" > $BOOT/syslinux.cfg
|
||||||
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 /boot/vmlinuz $BOOT/
|
cp /boot/vmlinuz $BOOT/
|
||||||
|
|||||||
Reference in New Issue
Block a user