Permalink
Browse files

copy all files from bootfiles, not just the named ones

  • Loading branch information...
1 parent 577e393 commit a52b9249af030a65035a41f17cda085a76810226 @Tomas-M committed Sep 25, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 build
View
6 build
@@ -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/

0 comments on commit a52b924

Please sign in to comment.