diff options
author | Nicolas Iooss | 2023-12-15 15:30:50 +0100 |
---|---|---|
committer | Nicolas Iooss | 2023-12-15 15:30:50 +0100 |
commit | da8913a27b6b5a5054434023cf9889634935aa18 (patch) | |
tree | 7c3fdb333e0546a1ff64b15297c4dacb5dc82f06 /initcpio-install-systemd | |
parent | 8e3be2cc21e1b9287cf02b0145730843be45a5e6 (diff) | |
download | aur-da8913a27b6b5a5054434023cf9889634935aa18.tar.gz |
systemd-selinux 255-2 update
Diffstat (limited to 'initcpio-install-systemd')
-rw-r--r-- | initcpio-install-systemd | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/initcpio-install-systemd b/initcpio-install-systemd index d59900c35b51..3355f4b85e99 100644 --- a/initcpio-install-systemd +++ b/initcpio-install-systemd @@ -70,6 +70,7 @@ build() { map add_binary \ /usr/bin/journalctl \ /usr/bin/systemd-tmpfiles \ + /usr/lib/systemd/systemd-executor \ /usr/lib/systemd/systemd-hibernate-resume \ /usr/lib/systemd/systemd-shutdown \ /usr/lib/systemd/systemd-sulogin-shell \ @@ -105,7 +106,9 @@ build() { sockets.target \ swap.target \ systemd-battery-check.service \ + systemd-bsod.service \ systemd-fsck@.service \ + systemd-hibernate-resume.service \ systemd-journald-audit.socket \ systemd-journald-dev-log.socket \ systemd-journald.service \ @@ -121,8 +124,10 @@ build() { rescue.target \ emergency.target - # add libraries dlopen()ed by tpm2-util - for LIB in tss2-{esys,rc,mu,tcti-'*'}; do + # add libraries dlopen()ed (hard and optional dependencies): + # tss2-* -> tpm2-util + # qrencode -> bsod + for LIB in tss2-{esys,rc,mu,tcti-'*'} qrencode; do for FILE in $(find /usr/lib/ -maxdepth 1 -name "lib${LIB}.so*"); do if [[ -L "${FILE}" ]]; then add_symlink "${FILE}" @@ -150,6 +155,8 @@ build() { set -f printf '%s\n' ${MODULES[@]} >"$BUILDROOT/etc/modules-load.d/MODULES.conf" ) + + [[ -f /etc/fstab.initramfs ]] && add_file "/etc/fstab.initramfs" "/etc/fstab" } help() { |