From d0e489afdaf293b42bfb1f1ffa381a46dfbb9e89 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 21 Jun 2023 12:08:31 +0200 Subject: [PATCH] update CHANGELOG and comment --- CHANGELOG | 8 ++++++-- usr/lib/initcpio/install/archboot_base_common | 8 +++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 90738bddc..049aafba8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -11,9 +11,13 @@ Environment Changes: - disabled lastlog login message - made systemd initrd-switch-root routine bullet proof - fixed /run/nouser leftovers -- disabled/masked systemd mounts: fuse, debugfs, configfs, tmp and tracefs +- disabled/masked systemd mounts: + fuse, debugfs, configfs, tmp and tracefs - disabled/masked systemd targets: - swap, cryptsetup, integritysetup and veritysetup + cryptsetup first-boot-complete integritysetup swap veritysetup +- disabled/masked systemd services: + hwdb-update firstboot machine-id-commit pcrmachine binfmt boot-random-seed + repart pcrphase pcrphase-sysinit - disabled/masked nfs3 support: rpcbind.service, rpcbind.socket, rpcbind.target and nfs-server.service - switch to default.target -> graphical.target diff --git a/usr/lib/initcpio/install/archboot_base_common b/usr/lib/initcpio/install/archboot_base_common index 5ac50b6e8..25f8fa60b 100644 --- a/usr/lib/initcpio/install/archboot_base_common +++ b/usr/lib/initcpio/install/archboot_base_common @@ -145,12 +145,14 @@ build () done ### disable systemd targets: # swap cryptsetup integritysetup veritysetup - for i in cryptsetup integritysetup swap veritysetup; do + for i in cryptsetup first-boot-complete integritysetup swap veritysetup; do add_symlink "/etc/systemd/system/${i}.target" "/dev/null" done ### disable systemd services: - for i in firstboot machine-id-commit pcrmachine binfmt boot-random-seed repart; do - add_symlink "/etc/systemd/system/sytem-${i}.service" "/dev/null" + # hwdb-update firstboot machine-id-commit pcrmachine binfmt + # boot-random-seed repart pcrphase pcrphase-sysinit + 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 # remove multi-user.target.wants rm -rf ${BUILDROOT}/etc/systemd/system/multi-user.target.wants