summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:29:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:29:21 +0000
commitf7066cb86337668533dc15ba37302c1ee35ded8d (patch)
tree95638b3edbce444dbe52505cc6782365271b9ca6
parentMounting /proc with hidepid=2 option. (diff)
downloadsystemd-f7066cb86337668533dc15ba37302c1ee35ded8d.tar.xz
systemd-f7066cb86337668533dc15ba37302c1ee35ded8d.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