From: Jo Zzsi Date: Sat, 26 Oct 2024 11:42:01 +0000 (-0400) Subject: perf(systemd): remove crypto API kernel modules X-Git-Tag: 106~328 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa45d84469b915ede2e72111d658df18bfb60a27;p=thirdparty%2Fdracut-ng.git perf(systemd): remove crypto API kernel modules See https://github.com/systemd/systemd/commit/2c3794f4228162c9bfd9e10886590d9f5b1920d7 This change was made in systemd v252. --- diff --git a/modules.d/00systemd/module-setup.sh b/modules.d/00systemd/module-setup.sh index c5812d6ac..3e03c472e 100755 --- a/modules.d/00systemd/module-setup.sh +++ b/modules.d/00systemd/module-setup.sh @@ -15,12 +15,13 @@ check() { } installkernel() { - hostonly='' instmods autofs4 ipv6 algif_hash hmac sha256 dmi-sysfs + hostonly='' instmods autofs4 ipv6 dmi-sysfs instmods -s efivarfs } # called by dracut install() { + if [[ $prefix == /run/* ]]; then dfatal 'systemd does not work with a prefix, which contains "/run"!!' exit 1