From: Ludwig Nussel Date: Mon, 8 Aug 2022 14:54:58 +0000 (+0200) Subject: kmod-setup: load dmi-sysfs if it's a module X-Git-Tag: v252-rc1~492 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8313a1a5cd7a75d7e0b456c9d9a27fc6bacd3863;p=thirdparty%2Fsystemd.git kmod-setup: load dmi-sysfs if it's a module --- diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c index f4488dd6924..966631d44ec 100644 --- a/src/core/kmod-setup.c +++ b/src/core/kmod-setup.c @@ -117,6 +117,9 @@ int kmod_setup(void) { /* qemu_fw_cfg would be loaded by udev later, but we want to import credentials from it super early */ { "qemu_fw_cfg", "/sys/firmware/qemu_fw_cfg", false, false, in_qemu }, + + /* dmi-sysfs is needed to import credentials from it super early */ + { "dmi-sysfs", "/sys/firmware/dmi/entries", false, false, NULL }, }; _cleanup_(kmod_unrefp) struct kmod_ctx *ctx = NULL; unsigned i;