copy all files from bootfiles, not just the named ones

pull/5/head v1.1
Tomas M 2012-09-25 00:31:18 -05:00
parent 577e39375a
commit a52b9249af
1 changed files with 1 additions and 5 deletions

6
build
View File

@ -30,11 +30,7 @@ rm -Rf "$LIVEKITDATA"
BOOT="$LIVEKITDATA"/"$LIVEKITNAME"/boot
mkdir -p "$BOOT"
mv "$INITRAMFS" $BOOT/initrfs.img
cp bootfiles/isolinux.bin $BOOT
cp bootfiles/vesamenu.c32 $BOOT
cp bootfiles/bootlogo.png $BOOT
cp bootfiles/syslinux.exe $BOOT
cp bootfiles/syslinux.com $BOOT
cp bootfiles/* $BOOT
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
cp /boot/vmlinuz $BOOT/