kmod-setup: load dmi-sysfs if it's a module
This commit is contained in:
committed by
Luca Boccassi
parent
7aa0b0121e
commit
8313a1a5cd
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user