]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Pass split initrd as -initrd if it exists with directory image 1913/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 21 Sep 2023 09:25:56 +0000 (11:25 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 21 Sep 2023 11:21:44 +0000 (13:21 +0200)
commitf9d9b2f4d4f96f7d20f8f63002f6b13dbcfdf33b
treeedd9d07ba581d60a113b0e3635b51bd367a6661d
parentb412d416bbd684d02850bc7de3009e317adb7f34
Pass split initrd as -initrd if it exists with directory image

When we're booting a directory image, direct boot only works if the
kernel has the virtiofs driver builtin. Since this is not the case
for distribution kernels, let's make sure we pass the initrd to qemu
as well if one exists so that booting straight into a virtiofs can
also work with distro kernels provided an initrd is available.
mkosi/qemu.py