Skip to content

Commit

Permalink
run_qemu: switch mkosi to not build unified kernel images
Browse files Browse the repository at this point in the history
The default in mkosi recently switched to building unified kernel
images, which breaks run_qemu. We might be able to move to these images
in the future, but for now, ask mkosi to build non-unified images with a
separate initrd and bootloader.

Reported-by: Ira Weiny <[email protected]>
Signed-off-by: Vishal Verma <[email protected]>
  • Loading branch information
stellarhopper committed Mar 10, 2023
1 parent d6cfdb3 commit 92ac465
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions mkosi.arch.default.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RootSize=@ROOT_SIZE@
[Output]
Format=raw_gpt
Bootable=yes
WithUnifiedKernelImages=no
Output=@ROOT_FS@

[Packages]
Expand Down
1 change: 1 addition & 0 deletions mkosi.fedora.default.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RootSize=@ROOT_SIZE@
[Output]
Format=raw_gpt
Bootable=yes
WithUnifiedKernelImages=no
Output=@ROOT_FS@

[Packages]
Expand Down
1 change: 1 addition & 0 deletions mkosi.ubuntu.default.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ESPSize=512M
[Output]
Format=raw_gpt
Bootable=yes
WithUnifiedKernelImages=no
Output=@ROOT_FS@

[Packages]
Expand Down

0 comments on commit 92ac465

Please sign in to comment.