[firstboot/f18] dm.patch: refer to desktop-manager.service not prefdm.service

Adam Williamson adamwill at fedoraproject.org
Sat Sep 1 00:33:22 UTC 2012


commit e46a054c188fe4658e72a70570d6c7d1b24a8ce8
Author: Adam Williamson <awilliam at redhat.com>
Date:   Fri Aug 31 17:31:35 2012 -0700

    dm.patch: refer to desktop-manager.service not prefdm.service

 firstboot-18.2-dm.patch |   11 +++++++++++
 firstboot.spec          |    9 ++++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/firstboot-18.2-dm.patch b/firstboot-18.2-dm.patch
new file mode 100644
index 0000000..209e84d
--- /dev/null
+++ b/firstboot-18.2-dm.patch
@@ -0,0 +1,11 @@
+--- firstboot-18.2/systemd/firstboot-graphical.service	2012-08-23 17:28:54.000000000 -0700
++++ firstboot-18.2/systemd/firstboot-graphical.service.new	2012-08-31 17:29:18.427849214 -0700
+@@ -1,7 +1,7 @@
+ [Unit]
+ Description=firstboot configuration program (graphical mode)
+ After=livesys.service plymouth-quit.service
+-Before=prefdm.service getty at tty1.service
++Before=display-manager.service getty at tty1.service
+ Conflicts=plymouth-quit.service
+ 
+ [Service]
diff --git a/firstboot.spec b/firstboot.spec
index 826d9b0..04191f6 100644
--- a/firstboot.spec
+++ b/firstboot.spec
@@ -4,11 +4,13 @@ Summary: Initial system configuration utility
 Name: firstboot
 URL: http://fedoraproject.org/wiki/FirstBoot
 Version: 18.2
-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.
 Source0: %{name}-%{version}.tar.gz
+# Adjust prefdm.service to display-manager.service in systemd service
+Patch0: firstboot-18.2-dm.patch
 
 License: GPLv2+
 Group: System Environment/Base
@@ -40,6 +42,7 @@ a series of steps that allows for easier configuration of the machine.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 
@@ -104,6 +107,10 @@ fi
 
 
 %changelog
+* Fri Aug 31 2012 Adam Williamson <awilliam at redhat.com> 18.2-2
+- patch systemd service to refer to display-manager.service not
+  prefdm.service (will be 'upstreamed' shortly)
+
 * Thu Aug 23 2012 Brian C. Lane <bcl at redhat.com> 18.2-1
 - Fix traceback when /etc/sysconfig/i18n doesn't exist (#849967)
   (vpodzime at redhat.com)


More information about the scm-commits mailing list