Skip to content

Commit

Permalink
Merge pull request #73 from WOnder93/fix-traceback-config
Browse files Browse the repository at this point in the history
virtme: fix traceback with --kdir when .config doesn't exist
  • Loading branch information
Andrea Righi authored Feb 17, 2024
2 parents 47c7b57 + 366fa92 commit 3d347e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions virtme/commands/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ def get_kernel_version(path):

def find_kernel_and_mods(arch, args) -> Kernel:
kernel = Kernel()
kernel.config = None

kernel.use_root_mods = False
if args.installed_kernel is not None:
Expand Down

0 comments on commit 3d347e6

Please sign in to comment.