projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aa0b01
)
kmod-setup: load dmi-sysfs if it's a module
author
Ludwig Nussel
<ludwig.nussel@suse.de>
Mon, 8 Aug 2022 14:54:58 +0000
(16:54 +0200)
committer
Luca Boccassi
<luca.boccassi@gmail.com>
Mon, 8 Aug 2022 18:22:53 +0000
(19:22 +0100)
src/core/kmod-setup.c
patch
|
blob
|
history
diff --git
a/src/core/kmod-setup.c
b/src/core/kmod-setup.c
index f4488dd6924151e2ae8bfc420b6a0f36b89a2f71..966631d44eca23207cb89d98a24c50dcc880c085 100644
(file)
--- 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;