X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fflash-images;h=dde98cb0a29a8c1f0a47b73f744baaf694985f55;hp=7d9ac3ee062738f9c3575798df5804560320af22;hb=dafc8fbea2ce4313a48938ba9a94718dfc59db3b;hpb=03f0aa268f85a1a28bf5ad30329407d7b735cccb diff --git a/lfs/flash-images b/lfs/flash-images index 7d9ac3ee06..dde98cb0a2 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -99,11 +99,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) sed -i -e "s|DEVICE2|#DEVICE2|g" $(MNThdd)/etc/fstab sed -i -e "s|DEVICE|/dev/sda|g" $(MNThdd)/etc/fstab sed -i -e "s|FSTYPE|ext2|g" $(MNThdd)/etc/fstab - cp -f $(MNThdd)/etc/mkinitcpio.conf $(MNThdd)/etc/mkinitcpio.conf.org - sed -i -e "s| autodetect | |g" $(MNThdd)/etc/mkinitcpio.conf - chroot $(MNThdd) /sbin/mkinitcpio -g /boot/ipfirerd-$(KVER)-emergency.img -k $(KVER)-ipfire - cp -f $(MNThdd)/etc/mkinitcpio.conf.org $(MNThdd)/etc/mkinitcpio.conf - ln -s ipfirerd-$(KVER)-emergency.img $(MNThdd)/boot/ipfirerd-$(KVER).img + chroot $(MNThdd) /usr/local/bin/rebuild-initrd # Copy grub files manually cp -f $(MNThdd)/usr/share/grub/i386-pc/* $(MNThdd)/boot/grub/