[firstboot] - Don't enable firstboot service on upgrade (#626676) - Set HOME to /root rather than / (#578903) -

Martin Gracik mgracik at fedoraproject.org
Fri Jan 14 15:21:36 UTC 2011


commit 8c26eabd8603385d14d8200d243486f3845138ba
Author: Martin Gracik <mgracik at redhat.com>
Date:   Fri Jan 14 16:21:19 2011 +0100

    - Don't enable firstboot service on upgrade (#626676)
    - Set HOME to /root rather than / (#578903)
    - Translation updates

 .gitignore     |    1 +
 firstboot.spec |    9 +++++++--
 sources        |    2 +-
 3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2297bc7..b48f91e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -76,3 +76,4 @@ firstboot-1.109.tar.bz2
 firstboot-1.110.tar.bz2
 firstboot-1.111.tar.bz2
 /firstboot-1.114.tar.bz2
+/firstboot-1.115.tar.bz2
diff --git a/firstboot.spec b/firstboot.spec
index be3e7fd..74bc6c7 100644
--- a/firstboot.spec
+++ b/firstboot.spec
@@ -3,7 +3,7 @@
 Summary: Initial system configuration utility
 Name: firstboot
 URL: http://fedoraproject.org/wiki/FirstBoot
-Version: 1.114
+Version: 1.115
 Release: 1%{?dist}
 # This is a Red Hat maintained package which is specific to
 # our distribution.  Thus the source is only available from
@@ -49,7 +49,7 @@ rm %{buildroot}/%{_datadir}/firstboot/modules/additional_cds.py*
 rm -rf %{buildroot}
 
 %post
-if ! [ -f /etc/sysconfig/firstboot ]; then
+if [ $1 -ne 2 -a ! -f /etc/sysconfig/firstboot ]; then
   systemctl enable firstboot-text.service >/dev/null 2>&1 || :
   systemctl enable firstboot-graphical.service >/dev/null 2>&1 || :
 fi
@@ -80,6 +80,11 @@ fi
 /lib/systemd/system/firstboot-graphical.service
 
 %changelog
+* Fri Jan 14 2011 Martin Gracik <mgracik at redhat.com> 1.115-1
+- Don't enable firstboot service on upgrade (#626676)
+- Set HOME to /root rather than / (#578903)
+- Translation updates
+
 * Mon Dec 20 2010 Martin Gracik <mgracik at redhat.com> 1.114-1
 - Support other window managers than metacity (#605675)
 - firstboot -> metacity dep (#605675) (rdieter)
diff --git a/sources b/sources
index 783486a..0ae6943 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4e431ca33dc933af2cf764d0d4b287b2  firstboot-1.114.tar.bz2
+0a7f0a53c7fa895b099b35eb3e4a2ad7  firstboot-1.115.tar.bz2


More information about the scm-commits mailing list