diff options
Diffstat (limited to 'pcr/systemd-knock/initcpio-install-systemd')
-rw-r--r-- | pcr/systemd-knock/initcpio-install-systemd | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pcr/systemd-knock/initcpio-install-systemd b/pcr/systemd-knock/initcpio-install-systemd index 1ebca01a8..96df98ada 100644 --- a/pcr/systemd-knock/initcpio-install-systemd +++ b/pcr/systemd-knock/initcpio-install-systemd @@ -34,6 +34,7 @@ add_udev_rule() { strip_quotes 'value' # just take the first word as the binary name binary=${value%% *} + [[ ${binary:0:1} == '$' ]] && continue if [[ ${binary:0:1} != '/' ]]; then binary=$(PATH=/usr/lib/udev:/lib/udev type -P "$binary") fi @@ -101,14 +102,13 @@ build() { add_binary /usr/lib/systemd/systemd /init map add_binary \ + /usr/bin/systemd-tmpfiles \ /usr/lib/systemd/systemd-hibernate-resume \ - /usr/lib/systemd/system-generators/systemd-hibernate-resume-generator \ - /usr/bin/systemd-tmpfiles - - # generators - map add_file \ /usr/lib/systemd/system-generators/systemd-fstab-generator \ - /usr/lib/systemd/system-generators/systemd-gpt-auto-generator + /usr/lib/systemd/system-generators/systemd-gpt-auto-generator \ + /usr/lib/systemd/system-generators/systemd-hibernate-resume-generator + + add_module "kdbus?" # udev rules and systemd units map add_udev_rule "$rules" \ @@ -131,12 +131,14 @@ build() { local-fs.target \ local-fs-pre.target \ paths.target \ + reboot.target \ slices.target \ sockets.target \ swap.target \ systemd-fsck@.service \ systemd-hibernate-resume@.service \ systemd-journald.service \ + systemd-journald-audit.socket \ systemd-journald-dev-log.socket \ systemd-tmpfiles-setup-dev.service \ systemd-udev-trigger.service \ |