xen-image: fix firstrun.
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 13 Aug 2010 13:48:19 +0000 (15:48 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 13 Aug 2010 13:48:19 +0000 (15:48 +0200)
lfs/xen-image

index 09e7671..caef972 100644 (file)
@@ -130,14 +130,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
        chroot $(MNThdd) /sbin/dracut --force --verbose /boot/ipfirerd-$(KVER)-xen.img $(KVER)-ipfire-xen
 
-
-       # Create a script for rebuild-initrd and setup
-       echo "#!/bin/bash"                                   > $(MNThdd)/etc/rc.d/rcsysinit.d/S75firstsetup
-       echo "/usr/local/sbin/setup /dev/null INSTALL"      >> $(MNThdd)/etc/rc.d/rcsysinit.d/S75firstsetup
-       echo "rm -f /etc/rc.d/rcsysinit.d/S75firstsetup \\" >> $(MNThdd)/etc/rc.d/rcsysinit.d/S75firstsetup
-       echo "&& /sbin/reboot"                              >> $(MNThdd)/etc/rc.d/rcsysinit.d/S75firstsetup
-       chmod +x $(MNThdd)/etc/rc.d/rcsysinit.d/S75firstsetup
-
        #Remove root / fstab check
        rm -rf $(MNThdd)/etc/rc.d/rcsysinit.d/S19checkfstab
        #Remove console init