summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:36:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:36:56 +0000
commit1f8b10525b8633f8918b1282df345ea83a4fd852 (patch)
tree1f682a06f5e8b860ba27c4a80414d85725099b06
parentMounting /proc with hidepid=2 option. (diff)
downloadsystemd-1f8b10525b8633f8918b1282df345ea83a4fd852.tar.xz
systemd-1f8b10525b8633f8918b1282df345ea83a4fd852.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 809a9a9..2d66f4a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -217,6 +217,9 @@ execute_after_dh_install:
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 -f debian/tmp/usr/share/man/man5/crypttab.5