aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2019-09-27 09:43:12 -0700
committerAndy Lutomirski <luto@kernel.org>2019-09-27 09:43:12 -0700
commit065476593886093c4c6e85c7a0cd496aa529875e (patch)
tree8d01351d6ad01d836681641872b7c24a464cc572
parent69dff5121a2489e605a99b772fb64a1176fb8c93 (diff)
parent1e7c4516d9538352aad6bf9127bfde758571e271 (diff)
downloadvirtme-065476593886093c4c6e85c7a0cd496aa529875e.tar.gz
Merge marcos' fix in to the kmod branch
-rw-r--r--virtme/commands/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/virtme/commands/run.py b/virtme/commands/run.py
index fd99573..740fb99 100644
--- a/virtme/commands/run.py
+++ b/virtme/commands/run.py
@@ -167,7 +167,7 @@ def find_kernel_and_mods(arch, args):
os.system('virtme-prep-kdir-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:
arg_fail("invalid argument '%s', please use --mods=none|use|auto" % args.mods)