Skip to content

Commit 315bdb8

Browse files
authored
Merge pull request #338 from desultory/dev
make the platform module actually add kmods to kmod_init
2 parents 026754e + 2659518 commit 315bdb8

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"] = list(kmods)

0 commit comments

Comments
 (0)