summaryrefslogtreecommitdiff
path: root/pcr/systemd-knock/initcpio-install-systemd
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-12 14:37:31 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-13 02:18:15 -0300
commit552f60227b0bb1b26fa7e6a49d753688f5c23e23 (patch)
treee2b0717793ffdcb6e1d7b6e2caa2564bc4194fe0 /pcr/systemd-knock/initcpio-install-systemd
parente290883a322d378b05a0777d179041dde3a5fd5d (diff)
downloadabslibre-552f60227b0bb1b26fa7e6a49d753688f5c23e23.tar.gz
abslibre-552f60227b0bb1b26fa7e6a49d753688f5c23e23.tar.bz2
abslibre-552f60227b0bb1b26fa7e6a49d753688f5c23e23.zip
systemd-knock-232-1: updating version
Diffstat (limited to 'pcr/systemd-knock/initcpio-install-systemd')
-rw-r--r--pcr/systemd-knock/initcpio-install-systemd10
1 files changed, 9 insertions, 1 deletions
diff --git a/pcr/systemd-knock/initcpio-install-systemd b/pcr/systemd-knock/initcpio-install-systemd
index b57661b3e..f6d0afdb8 100644
--- a/pcr/systemd-knock/initcpio-install-systemd
+++ b/pcr/systemd-knock/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.