[firstboot/f14/master] * Tue Aug 10 2010 Martin Gracik <mgracik at redhat.com> 1.112-1 - Add systemd support (adamw) - Transla

Martin Gracik mgracik at fedoraproject.org
Tue Aug 10 21:43:11 UTC 2010


commit ae9b2d9c86ca3f8366448b27e2061cbf9d7f0749
Author: Martin Gracik <mgracik at redhat.com>
Date:   Tue Aug 10 23:26:47 2010 +0200

    * Tue Aug 10 2010 Martin Gracik <mgracik at redhat.com> 1.112-1
    - Add systemd support (adamw)
    - Translation updates

 .gitignore     |    1 +
 firstboot.spec |   16 ++++++++++++----
 sources        |    2 +-
 3 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0be7703..09076d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -75,3 +75,4 @@ firstboot-1.108.tar.bz2
 firstboot-1.109.tar.bz2
 firstboot-1.110.tar.bz2
 firstboot-1.111.tar.bz2
+firstboot-1.112.tar.bz2
diff --git a/firstboot.spec b/firstboot.spec
index 88eb468..755e72a 100644
--- a/firstboot.spec
+++ b/firstboot.spec
@@ -3,8 +3,8 @@
 Summary: Initial system configuration utility
 Name: firstboot
 URL: http://fedoraproject.org/wiki/FirstBoot
-Version: 1.111
-Release: 2%{?dist}
+Version: 1.112
+Release: 1%{?dist}
 # This is a Red Hat maintained package which is specific to
 # our distribution.  Thus the source is only available from
 # within this srpm.
@@ -22,6 +22,7 @@ Requires: authconfig-gtk, python-meh
 Requires: system-config-keyboard
 Requires: python-ethtool
 Requires: cracklib-python
+Requires: systemd-units
 Requires(post): chkconfig
 
 %define debug_package %{nil}
@@ -49,6 +50,8 @@ rm -rf %{buildroot}
 %post
 if ! [ -f /etc/sysconfig/firstboot ]; then
   chkconfig --add firstboot
+  systemctl enable firstboot-text.service >/dev/null 2>&1 || :
+  systemctl enable firstboot-graphical.service >/dev/null 2>&1 || :
 fi
 
 %preun
@@ -56,6 +59,8 @@ if [ $1 = 0 ]; then
   rm -rf /usr/share/firstboot/*.pyc
   rm -rf /usr/share/firstboot/modules/*.pyc
   chkconfig --del firstboot
+  systemctl disable firstboot-graphical.service >/dev/null 2>&1 || :
+  systemctl disable firstboot-text.service >/dev/null 2>&1 || :
 fi
 
 %files -f %{name}.lang
@@ -72,10 +77,13 @@ fi
 %{_datadir}/firstboot/modules/eula.py*
 %{_datadir}/firstboot/modules/welcome.py*
 %{_datadir}/firstboot/themes/default/*
+/lib/systemd/system/firstboot-text.service
+/lib/systemd/system/firstboot-graphical.service
 
 %changelog
-* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 1.111-2
-- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+* Tue Aug 10 2010 Martin Gracik <mgracik at redhat.com> 1.112-1
+- Add systemd support (adamw)
+- Translation updates
 
 * Thu Jul 15 2010 Martin Gracik <mgracik at redhat.com> 1.111-1
 - Fixed indenting
diff --git a/sources b/sources
index c1855dc..16149bc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c503c77b5fe63846ceaed86268ae87dc  firstboot-1.111.tar.bz2
+8ef97351e8294425b802099e78c55f8c  firstboot-1.112.tar.bz2


More information about the scm-commits mailing list