From 36b0e78940f446154a80f064f8288832f2f87a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 17 Jan 2021 18:38:28 +0100 Subject: DEB tdebase: Systemd unit file tdm.service has been moved to the main tree. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ubuntu/_base/core/tdebase/debian/rules | 4 +++- ubuntu/_base/core/tdebase/debian/tdm-trinity.install | 2 +- ubuntu/_base/core/tdebase/debian/tdm.service | 12 ------------ 3 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 ubuntu/_base/core/tdebase/debian/tdm.service (limited to 'ubuntu') diff --git a/ubuntu/_base/core/tdebase/debian/rules b/ubuntu/_base/core/tdebase/debian/rules index b23216492..b7d8ae5db 100755 --- a/ubuntu/_base/core/tdebase/debian/rules +++ b/ubuntu/_base/core/tdebase/debian/rules @@ -30,10 +30,12 @@ DEB_CMAKE_EXTRA_FLAGS := \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_SKIP_RPATH="OFF" \ -DBUILD_ALL="ON" \ - -DWITH_GCC_VISIBILITY="ON" \ + -DBUILD_TDM_SYSTEMD_UNIT_FILE="ON" \ + -DSYSTEMDSYSTEMUNITDIR="/lib/systemd/system" \ -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \ -DTDM_PAM_SERVICE="tdm-trinity" \ -DTDESCREENSAVER_PAM_SERVICE="tdescreensaver-trinity" \ + -DWITH_GCC_VISIBILITY="ON" \ -DWITH_USBIDS="/usr/share/misc/usb.ids" \ -DWITH_ARTS="ON" \ -DWITH_PAM="ON" \ diff --git a/ubuntu/_base/core/tdebase/debian/tdm-trinity.install b/ubuntu/_base/core/tdebase/debian/tdm-trinity.install index 8abe7e703..90c5256de 100644 --- a/ubuntu/_base/core/tdebase/debian/tdm-trinity.install +++ b/ubuntu/_base/core/tdebase/debian/tdm-trinity.install @@ -1,5 +1,5 @@ debian/local/tdm.options etc/trinity/tdm/ -debian/tdm.service lib/systemd/system/ +debian/tmp/lib/systemd/system/tdm.service debian/tmp/etc/trinity/tdm/tdmrc debian/tmp/etc/trinity/tdm/Xaccess debian/tmp/etc/trinity/tdm/Xreset diff --git a/ubuntu/_base/core/tdebase/debian/tdm.service b/ubuntu/_base/core/tdebase/debian/tdm.service deleted file mode 100644 index 349823a9f..000000000 --- a/ubuntu/_base/core/tdebase/debian/tdm.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Trinity Display Manager -Documentation=man:tdm-trinity(1) -Conflicts=getty@tty7.service plymouth-quit.service -After=systemd-user-sessions.service getty@tty7.service plymouth-quit.service - -[Service] -# temporary safety check until all DMs are converted to correct -# display-manager.service symlink handling -ExecStartPre=/bin/sh -c '[ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "tdm" ]' -ExecStart=/opt/trinity/bin/tdm -Restart=always -- cgit v1.2.3