disable proc-sys-fs-binfmt_misc.automount

This commit is contained in:
Tobias Powalowski 2023-06-26 21:05:37 +02:00
parent 267623fd36
commit f1a6f2e6d7

View file

@ -154,6 +154,9 @@ build ()
for i in hwdb-update firstboot machine-id-commit pcrmachine binfmt boot-random-seed repart pcrphase pcrphase-sysinit; do 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" add_symlink "/etc/systemd/system/systemd-${i}.service" "/dev/null"
done 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 # remove multi-user.target.wants
rm -rf ${BUILDROOT}/etc/systemd/system/multi-user.target.wants rm -rf ${BUILDROOT}/etc/systemd/system/multi-user.target.wants
# disable lastlog # disable lastlog