]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
kmod-setup: load dmi-sysfs if it's a module
authorLudwig Nussel <ludwig.nussel@suse.de>
Mon, 8 Aug 2022 14:54:58 +0000 (16:54 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 8 Aug 2022 18:22:53 +0000 (19:22 +0100)
src/core/kmod-setup.c

index f4488dd6924151e2ae8bfc420b6a0f36b89a2f71..966631d44eca23207cb89d98a24c50dcc880c085 100644 (file)
@@ -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;