Fix grub at flashimage.
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 8 Mar 2010 18:18:49 +0000 (19:18 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 8 Mar 2010 18:18:49 +0000 (19:18 +0100)
lfs/flash-images

index f3353ff..5eff02a 100644 (file)
@@ -106,8 +106,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        ln -s ipfirerd-$(KVER)-emergency.img $(MNThdd)/boot/ipfirerd-$(KVER).img
 
        # Copy grub files manually
-       cp -f $(MNThdd)/usr/lib/grub/i386-pc/* $(MNThdd)/boot/grub/
-       chroot $(MNThdd) /usr/sbin/grub-set-default 0
+       cp -f $(MNThdd)/usr/share/grub/i386-pc/* $(MNThdd)/boot/grub/
+       #chroot $(MNThdd) /usr/sbin/grub-set-default 0
 
        # Create a script for rebuild-initrd and setup
        echo "#!/bin/bash"                                   > $(MNThdd)/etc/rc.d/rcsysinit.d/S75firstsetup