[Fedora-spins] [spin-kickstarts/f19] no need to disable firstboot in livesys any more

Adam Williamson adamwill at fedoraproject.org
Thu May 23 18:58:34 UTC 2013


commit 17d32625b62984e3a99752461cd862451b181182
Author: Adam Williamson <awilliam at redhat.com>
Date:   Thu May 23 11:57:20 2013 -0700

    no need to disable firstboot in livesys any more
    
    firstboot was replaced with initial-setup, so this was doing nothing, and
    I got the initial-setup maintainer to use systemd's unit conditions to
    avoid starting on live images. We should do this to other stuff that
    we currently disable in livesys, too, it's much cleaner.

 fedora-live-base.ks |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 4444814..3ec104e 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -179,12 +179,6 @@ action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
 passwd -d liveuser > /dev/null
 usermod -aG wheel liveuser > /dev/null
 
-# turn off firstboot for livecd boots
-systemctl --no-reload disable firstboot-text.service 2> /dev/null || :
-systemctl --no-reload disable firstboot-graphical.service 2> /dev/null || :
-systemctl stop firstboot-text.service 2> /dev/null || :
-systemctl stop firstboot-graphical.service 2> /dev/null || :
-
 # don't use prelink on a running live image
 sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink &>/dev/null || :
 


More information about the spins mailing list