Skip to content

Commit 87026b6

Browse files
committed
make the platform module actually add kmods to kmod_init
Signed-off-by: Zen <[email protected]>
1 parent e3c5cf2 commit 87026b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ugrd/kmod/platform.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from zenlib.util import colorize as c_
22
from zenlib.util import contains
33

4-
__version__ = "0.1.0"
4+
__version__ = "0.1.1"
55

66
VM_PRODUCT_NAMES = {
77
"Virtual Machine": ["virtio_blk"],
@@ -42,3 +42,4 @@ def autodetect_virtual_machine(self):
4242
f"[{c_(self['_dmi_system_vendor'], color='cyan', bold=True)}]({c_(self['_dmi_product_name'], color='cyan', bright=True)}) Detected VM kmods: {c_((' ').join(kmods), color='magenta', bright=True)}"
4343
)
4444
self["virtual_machine"] = True
45+
self["kmod_init"] = kmods

0 commit comments

Comments
 (0)