From 50373f360ca45d4b2489e9441a4e3d38ffed8730 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 1 Aug 2010 19:00:27 +0200 Subject: [PATCH] xen-image: use dracut to build initrd. --- lfs/xen-image | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lfs/xen-image b/lfs/xen-image index a6e4f36428..09e767114a 100644 --- a/lfs/xen-image +++ b/lfs/xen-image @@ -127,11 +127,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) sed -i -e "s|DEVICE4|/dev/xvda4|g" $(MNThdd)/etc/fstab sed -i -e "s|FSTYPE|ext3|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)-xen.img -k $(KVER)-ipfire-xen - cp -f $(MNThdd)/etc/mkinitcpio.conf.org $(MNThdd)/etc/mkinitcpio.conf + chroot $(MNThdd) /sbin/dracut --force --verbose /boot/ipfirerd-$(KVER)-xen.img $(KVER)-ipfire-xen # Create a script for rebuild-initrd and setup -- 2.39.2