summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:52:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:52:56 +0000
commitffd68fae394f19cb32712e84ad901122c9c5efe0 (patch)
treeeb44249199ab1cb60153cb7d5b52339598301f62
parentMounting /proc with hidepid=2 option. (diff)
downloadsystemd-ffd68fae394f19cb32712e84ad901122c9c5efe0.tar.xz
systemd-ffd68fae394f19cb32712e84ad901122c9c5efe0.zip
Disabling ctrl-alt-del.target.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index eeeeca1..bea3eae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -222,6 +222,9 @@ execute_after_dh_install-arch:
printf '\n[Install]\nWantedBy=local-fs.target\n' >> debian/systemd/usr/share/systemd/tmp.mount
rm debian/tmp/usr/lib/systemd/system/local-fs.target.wants/tmp.mount
+ # disable ctrl-alt-del.target
+ rm debian/systemd/usr/lib/systemd/system/ctrl-alt-del.target
+
# Ubuntu specific files
ifeq ($(DEB_VENDOR),Ubuntu)
install -D --mode=644 debian/extra/udev.py debian/udev/usr/share/apport/package-hooks/udev.py