summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:31:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:31:13 +0000
commit29a525bf005f8822b7c8fc23b14756bba2ed7c36 (patch)
treedb9920f7af828b5a5dd8202e6ff656c12d58c11d /debian/rules
parentMounting /proc with hidepid=2 option. (diff)
downloadsystemd-29a525bf005f8822b7c8fc23b14756bba2ed7c36.tar.xz
systemd-29a525bf005f8822b7c8fc23b14756bba2ed7c36.zip
Disabling ctrl-alt-del.target.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index bd2714e..a5701ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -249,6 +249,9 @@ endif
printf '\n[Install]\nWantedBy=local-fs.target\n' >> debian/systemd/usr/share/systemd/tmp.mount
rm debian/systemd/lib/systemd/system/local-fs.target.wants/tmp.mount
+ # disable ctrl-alt-del.target
+ rm debian/systemd/lib/systemd/system/ctrl-alt-del.target
+
# files shipped by cryptsetup
ifeq (, $(filter stage1, $(DEB_BUILD_PROFILES)))
rm debian/systemd/usr/share/man/man5/crypttab.5