summarylogtreecommitdiffstats
path: root/initcpio-install-systemd
diff options
context:
space:
mode:
Diffstat (limited to 'initcpio-install-systemd')
-rw-r--r--initcpio-install-systemd11
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() {