[systemd-commits] Makefile.am units/fedora units/mageia units/mandriva
Lennart Poettering
lennart at kemper.freedesktop.org
Tue Aug 7 08:09:32 PDT 2012
Makefile.am | 10 +---------
units/fedora/prefdm.service | 21 ---------------------
units/mageia/prefdm.service | 22 ----------------------
units/mandriva/prefdm.service | 21 ---------------------
4 files changed, 1 insertion(+), 73 deletions(-)
New commits:
commit b2c9cbafb8b1a2742978e1faf37fbb3cf4fb5d44
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Aug 7 17:07:35 2012 +0200
units: remove prefdm
It's time to get rid of prefdm. Distributions which still want to use
this should maintain this downstream, but it's probably better to just
provide proper units for the various display managers, like Fedora is
doing this, for example:
https://fedoraproject.org/wiki/Features/DisplayManagerRework
diff --git a/Makefile.am b/Makefile.am
index 49c3e3f..b1a8cc1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -386,7 +386,6 @@ EXTRA_DIST += \
if TARGET_FEDORA
dist_systemunit_DATA += \
- units/fedora/prefdm.service \
units/fedora/rc-local.service \
units/fedora/halt-local.service
systemgenerator_PROGRAMS += \
@@ -395,7 +394,6 @@ endif
if TARGET_MANDRIVA
dist_systemunit_DATA += \
- units/mandriva/prefdm.service \
units/fedora/rc-local.service \
units/fedora/halt-local.service
systemgenerator_PROGRAMS += \
@@ -417,7 +415,6 @@ endif
if TARGET_MAGEIA
dist_systemunit_DATA += \
- units/mageia/prefdm.service \
units/fedora/rc-local.service \
units/fedora/halt-local.service
systemgenerator_PROGRAMS += \
@@ -3593,15 +3590,12 @@ systemd-install-data-hook:
if TARGET_FEDORA
( cd $(DESTDIR)$(systemunitdir) && \
rm -f display-manager.service single.service && \
- $(LN_S) prefdm.service display-manager.service && \
$(LN_S) rescue.service single.service )
endif
if TARGET_MANDRIVA
( cd $(DESTDIR)$(systemunitdir) && \
rm -f display-manager.service dm.service single.service && \
- $(LN_S) prefdm.service display-manager.service && \
- $(LN_S) prefdm.service dm.service && \
$(LN_S) rescue.service single.service )
endif
@@ -3619,9 +3613,7 @@ endif
if TARGET_MAGEIA
( cd $(DESTDIR)$(systemunitdir) && \
- rm -f display-manager.service && \
- $(LN_S) prefdm.service display-manager.service && \
- $(LN_S) prefdm.service dm.service )
+ rm -f display-manager.service )
endif
install-exec-hook: $(INSTALL_EXEC_HOOKS)
diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service
deleted file mode 100644
index 51da6c7..0000000
--- a/units/fedora/prefdm.service
+++ /dev/null
@@ -1,21 +0,0 @@
-# This file is part of systemd.
-#
-# systemd is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
-
-[Unit]
-Description=Display Manager
-After=livesys-late.service rc-local.service systemd-user-sessions.service
-
-# On Fedora gdm/X11 is on tty1. We explicitly cancel the getty here to
-# avoid any races around that.
-Conflicts=getty at tty1.service plymouth-quit.service
-After=getty at tty1.service plymouth-quit.service
-
-[Service]
-ExecStart=/etc/X11/prefdm -nodaemon
-Restart=always
-RestartSec=0
-IgnoreSIGPIPE=no
diff --git a/units/mageia/prefdm.service b/units/mageia/prefdm.service
deleted file mode 100644
index db41294..0000000
--- a/units/mageia/prefdm.service
+++ /dev/null
@@ -1,22 +0,0 @@
-# This file is part of systemd.
-#
-# systemd is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
-
-[Unit]
-Description=Display Manager
-After=livesys-late.service systemd-user-sessions.service
-
-# On Mageia gdm/X11 is on tty1. We explicitly cancel the getty here to
-# avoid any races around that.
-# Do not stop plymouth, it is done in prefdm if required (or left to the dm)
-Conflicts=getty at tty1.service plymouth-quit.service
-After=getty at tty1.service plymouth-quit.service
-
-[Service]
-ExecStart=/etc/X11/prefdm -nodaemon
-Restart=always
-RestartSec=0
-IgnoreSIGPIPE=no
diff --git a/units/mandriva/prefdm.service b/units/mandriva/prefdm.service
deleted file mode 100644
index c85a7a9..0000000
--- a/units/mandriva/prefdm.service
+++ /dev/null
@@ -1,21 +0,0 @@
-# This file is part of systemd.
-#
-# systemd is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
-
-[Unit]
-Description=Display Manager
-After=livesys-late.service rc-local.service systemd-user-sessions.service
-After=network.target acpid.service fs.service haldaemon.service
-
-# Do not stop plymouth, it is done in prefdm if required
-Conflicts=plymouth-quit.service
-After=plymouth-quit.service
-
-[Service]
-ExecStart=/etc/X11/prefdm
-Type=forking
-Restart=always
-RestartSec=0
More information about the systemd-commits
mailing list