mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
units: Remove Gentoo specific xdm.service
That unity pulls in OpenRC which in turn pulls in most of legacy system that causes lots of troubles as it is too smart, thus not recommended. Moreover, SystemD developers seems to agree that a service file per DM is the best approach, so having gdm.service, kdm.service, slim.service is better than a single wrapper for them.
This commit is contained in:
parent
9b8a535f4d
commit
d2ffe6deac
12
Makefile.am
12
Makefile.am
@ -334,10 +334,6 @@ dist_systemunit_DATA += \
|
||||
units/fedora/plymouth-halt.service
|
||||
endif
|
||||
|
||||
if TARGET_GENTOO
|
||||
dist_systemunit_DATA += \
|
||||
units/gentoo/xdm.service
|
||||
endif
|
||||
|
||||
if TARGET_ARCH
|
||||
dist_systemunit_DATA += \
|
||||
@ -1309,14 +1305,6 @@ if TARGET_FEDORA
|
||||
rm -f display-manager.service && \
|
||||
$(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
|
||||
endif
|
||||
if TARGET_GENTOO
|
||||
( cd $(DESTDIR)$(systemunitdir) && \
|
||||
rm -f display-manager.service && \
|
||||
$(LN_S) xdm.service display-manager.service )
|
||||
( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
|
||||
rm -f display-manager.service && \
|
||||
$(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
|
||||
endif
|
||||
if TARGET_DEBIAN_OR_UBUNTU
|
||||
( cd $(DESTDIR)$(systemunitdir) && \
|
||||
rm -f runlevel5.target && \
|
||||
|
@ -1 +0,0 @@
|
||||
../../src/Makefile
|
@ -1,17 +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 General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Display Manager
|
||||
After=syslog.target dbus.target hald.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/etc/init.d/xdm start
|
||||
|
||||
[Install]
|
||||
Alias=display-manager.service
|
||||
WantedBy=graphical.target
|
Loading…
Reference in New Issue
Block a user