mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
mkosi: Don't skip initrd dependency when building a directory image
mkosi now supports booting directory images in qemu using virtiofs. However, until distribution kernels build the virtiofs driver directly into the kernel, we need an initrd to make this work, so make sure to pull in the initrd preset when building a directory image that could be bootable to make this work.
This commit is contained in:
parent
71e5a35a5b
commit
fc5473b737
@ -2,7 +2,8 @@
|
||||
|
||||
[Match]
|
||||
Bootable=!no
|
||||
Format=disk
|
||||
Format=|disk
|
||||
Format=|directory
|
||||
|
||||
[Preset]
|
||||
Dependencies=initrd
|
||||
|
Loading…
Reference in New Issue
Block a user