summarylogtreecommitdiffstats
path: root/initcpio-install-systemd
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado2017-01-17 01:08:01 -0300
committerAndré Fabian Silva Delgado2017-01-17 01:08:01 -0300
commitc0968e5bfdb65adf2a342be11294d4bad9028bf3 (patch)
treeea9788468b187aa511be69274d7aa06e66e9cb3b /initcpio-install-systemd
parent1626da3617c9d1cbc79ac3c8646594acf3d4d91d (diff)
downloadaur-c0968e5bfdb65adf2a342be11294d4bad9028bf3.tar.gz
Update to 232-1
Diffstat (limited to 'initcpio-install-systemd')
-rw-r--r--initcpio-install-systemd10
1 files changed, 9 insertions, 1 deletions
diff --git a/initcpio-install-systemd b/initcpio-install-systemd
index b57661b3ea92..f6d0afdb8285 100644
--- a/initcpio-install-systemd
+++ b/initcpio-install-systemd
@@ -147,6 +147,7 @@ build() {
systemd-journald.service \
systemd-journald-audit.socket \
systemd-journald-dev-log.socket \
+ systemd-modules-load.service \
systemd-tmpfiles-setup-dev.service \
systemd-udev-trigger.service \
systemd-udevd-control.socket \
@@ -172,12 +173,19 @@ build() {
ExecStart=
ExecStart=/usr/lib/systemd/systemd-udevd --resolve-names=never
EOF
+
+ add_dir "/etc/modules-load.d"
+ (
+ . "$_f_config"
+ set -f
+ printf "%s\n" $MODULES >"$BUILDROOT/etc/modules-load.d/MODULES.conf"
+ )
}
help() {
cat <<HELPEOF
This will install a basic systemd setup in your initramfs, and is meant to
-replace the 'base', 'usr', 'udev' and 'timestamp' hooks. Other hooks with runtime
+replace the 'base', 'usr', 'udev' and 'resume' hooks. Other hooks with runtime
components will need to be ported, and will not work as intended. You also may
wish to still include the 'base' hook (before this hook) to ensure that a
rescue shell exists on your initramfs.