[firstboot] - Enable firstboot after install (#725566)

Martin Gracik mgracik at fedoraproject.org
Tue Jul 26 10:52:52 UTC 2011


commit 315d8960efaaa7c679034674d553befb89bfcbac
Author: Martin Gracik <mgracik at redhat.com>
Date:   Tue Jul 26 12:52:48 2011 +0200

    - Enable firstboot after install (#725566)

 firstboot.spec |    8 ++++++--
 sources        |    2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/firstboot.spec b/firstboot.spec
index 884e5aa..e5e2df9 100644
--- a/firstboot.spec
+++ b/firstboot.spec
@@ -4,7 +4,7 @@ Summary: Initial system configuration utility
 Name: firstboot
 URL: http://fedoraproject.org/wiki/FirstBoot
 Version: 16.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 # This is a Red Hat maintained package which is specific to
 # our distribution.  Thus the source is only available from
 # within this srpm.
@@ -56,7 +56,8 @@ if [ $1 -ne 2 -a ! -f /etc/sysconfig/firstboot ]; then
   if [ "$platform" = "s390" -o "$platform" = "s390x" ]; then
     echo "RUN_FIRSTBOOT=YES" > /etc/sysconfig/firstboot
   else
-    /bin/systemctl daemon-reload > /dev/null 2>&1 || :
+    systemctl enable firstboot-graphical.service >/dev/null 2>&1 || :
+    systemctl enable firstboot-text.service >/dev/null 2>&1 || :
   fi
 fi
 
@@ -108,6 +109,9 @@ fi
 
 
 %changelog
+* Tue Jul 26 2011 Martin Gracik <mgracik at redhat.com> 16.1-2
+- Enable firstboot after install (#725566)
+
 * Mon Jul 25 2011 Martin Gracik <mgracik at redhat.com> 16.1-1
 - Don't run firstboot if it's set in /etc/sysconfig/firstboot (#723526)
 - Copy skel files even if the home directory exists (#598957)
diff --git a/sources b/sources
index 6f7d3e6..4e17c77 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-797260e8b0480bb78f86e074129ab7e1  firstboot-16.1.tar.bz2
+fa240adff3b8ea89cb07d8741c1a4cac  firstboot-16.1.tar.bz2


More information about the scm-commits mailing list