summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:39:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:39:48 +0000
commit0b41947103406af5528ea9c5bd6019f2c89e64fd (patch)
tree4da129d8a82e57ee92642d3da5ce9439708b261d /debian/rules
parentMounting /proc with hidepid=2 option. (diff)
downloadsystemd-0b41947103406af5528ea9c5bd6019f2c89e64fd.tar.xz
systemd-0b41947103406af5528ea9c5bd6019f2c89e64fd.zip
Disabling ctrl-alt-del.target.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 950c424..60eb232 100755
--- a/debian/rules
+++ b/debian/rules
@@ -241,6 +241,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