mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
xen-image: fix firstrun.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user