summaryrefslogtreecommitdiff
path: root/libre/notsystemd/initcpio-install-systemd
diff options
context:
space:
mode:
Diffstat (limited to 'libre/notsystemd/initcpio-install-systemd')
-rw-r--r--libre/notsystemd/initcpio-install-systemd6
1 files changed, 5 insertions, 1 deletions
diff --git a/libre/notsystemd/initcpio-install-systemd b/libre/notsystemd/initcpio-install-systemd
index 5bf7b7f16..8fb4441f7 100644
--- a/libre/notsystemd/initcpio-install-systemd
+++ b/libre/notsystemd/initcpio-install-systemd
@@ -112,11 +112,15 @@ build() {
map add_binary \
/usr/bin/systemd-tmpfiles \
/usr/lib/systemd/systemd-hibernate-resume \
+ /usr/lib/systemd/systemd-shutdown \
/usr/lib/systemd/systemd-sulogin-shell \
/usr/lib/systemd/system-generators/systemd-fstab-generator \
/usr/lib/systemd/system-generators/systemd-gpt-auto-generator \
/usr/lib/systemd/system-generators/systemd-hibernate-resume-generator
+ # for journalctl in emergency shell
+ add_binary journalctl
+
# udev rules and systemd units
map add_udev_rule "$rules" \
50-udev-default.rules \
@@ -181,7 +185,7 @@ EOF
(
. "$_f_config"
set -f
- printf "%s\n" $MODULES >"$BUILDROOT/etc/modules-load.d/MODULES.conf"
+ printf '%s\n' ${MODULES[@]} >"$BUILDROOT/etc/modules-load.d/MODULES.conf"
)
}