From dafc8fbea2ce4313a48938ba9a94718dfc59db3b Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 31 Jul 2010 17:28:56 +0200 Subject: [PATCH] flashimages: is dracut to create initrd. --- lfs/flash-images | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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/ -- 2.39.2