diff options
author | Zev Weiss <zev@bewilderbeest.net> | 2019-09-27 03:15:19 -0500 |
---|---|---|
committer | Zev Weiss <zev@bewilderbeest.net> | 2019-09-27 03:27:13 -0500 |
commit | 99af8471765633ca5f6ce73fd85eb234ff2771cd (patch) | |
tree | cc29a7882007dfd194c6927abd9397cafc329e73 | |
parent | 342e75481b13f09ed83794ff42cfbd679a61a2da (diff) | |
download | virtme-99af8471765633ca5f6ce73fd85eb234ff2771cd.tar.gz |
virtme-run: pass .virtme_mods as root to find_modules_from_install().
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
-rw-r--r-- | virtme/commands/run.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtme/commands/run.py b/virtme/commands/run.py index 8c17592..ad353a8 100644 --- a/virtme/commands/run.py +++ b/virtme/commands/run.py @@ -137,7 +137,7 @@ def find_kernel_and_mods(arch, args): if os.path.exists(virtme_mods): moddir = os.path.join(virtme_mods, 'lib/modules', '0.0.0') modfiles = modfinder.find_modules_from_install( - virtmods.MODALIASES, kver='0.0.0') + virtmods.MODALIASES, root=virtme_mods, kver='0.0.0') else: kver = None moddir = None |