usb-stick: changes for new syslinux / menu.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 26 May 2013 14:32:06 +0000 (16:32 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 26 May 2013 14:32:06 +0000 (16:32 +0200)
lfs/usb-stick

index 30a14757741186ee3c3eaa575ff552a2df14f97c..1bfc8a167e2c934b66a92dee8a7c8b997908a8a1 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2012  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2013  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -62,9 +62,9 @@ define COPY_TO_IMG
        losetup $$LOOPDEV $$IMAGE && \
        mount -t vfat $$LOOPDEV /install/mnt && \
        cp -fR /install/cdrom/* /install/mnt && \
-       mv /install/mnt/boot/isolinux/{instroot,vmlinuz,splash.lss,*\.msg,memtest} /install/mnt && \
-       rm -rf /install/mnt/boot/isolinux && \
-       cp $(DIR_SRC)/config/syslinux/syslinux.cfg /install/mnt/syslinux.cfg && \
+       mv /install/mnt/boot/isolinux /install/mnt/boot/syslinux && \
+       mv /install/mnt/boot/syslinux/isolinux.cfg \
+          /install/mnt/boot/syslinux/syslinux.cfg && \
        umount /install/mnt && \
        losetup -d $$LOOPDEV && \
        syslinux $$IMAGE