Skip to content

Commit

Permalink
Fix kernel bootstrap disk image path for qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
Googulator committed Dec 17, 2023
1 parent 11fa8ec commit 63bfc3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def bootstrap(args, generator, tmpdir, size):
'-m', str(args.qemu_ram) + 'M',
'-smp', str(args.cores),
'-no-reboot',
'-drive', 'file=' + os.path.join(generator.tmp_dir, 'disk.img') + ',format=raw'
'-drive', 'file=' + generator.tmp_dir + '.img' + ',format=raw'
]
if tmpdir.get_disk("external") is not None:
arg_list += [
Expand Down

0 comments on commit 63bfc3f

Please sign in to comment.