From f1a6f2e6d733d2865f7f6b6946cb9b8122283670 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 26 Jun 2023 21:05:37 +0200 Subject: [PATCH] disable proc-sys-fs-binfmt_misc.automount --- usr/lib/initcpio/install/archboot_base_common | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr/lib/initcpio/install/archboot_base_common b/usr/lib/initcpio/install/archboot_base_common index 8e547b351..d572e1b95 100644 --- a/usr/lib/initcpio/install/archboot_base_common +++ b/usr/lib/initcpio/install/archboot_base_common @@ -154,6 +154,9 @@ build () for i in hwdb-update firstboot machine-id-commit pcrmachine binfmt boot-random-seed repart pcrphase pcrphase-sysinit; do add_symlink "/etc/systemd/system/systemd-${i}.service" "/dev/null" done + ### disable autonount: + # proc-sys-fs-binfmt_misc.automount + add_symlink "/etc/systemd/system/proc-sys-fs-binfmt_misc.automount" "/dev/null" # remove multi-user.target.wants rm -rf ${BUILDROOT}/etc/systemd/system/multi-user.target.wants # disable lastlog