On Wed, Apr 26, 2023 at 12:17:22AM +0200, Dan Čermák wrote:
> Would it be possible to build bootable images using mkosi-initrd in
> koji? Then these could be booted in openQA directly and catch simple
> regressions like unbootable images quite easily.

If I understand correctly, you are suggesting building the initrd image as a
stand-alone job similarly to how we produce installation images and other
deliverables.

In theory … maybe? But haven't really thought about it in this way, but:
- for delivery to users we actually want the result to be packaged as rpm,
  so if we built a standalone image as a task in koji, then we'd need another
  job to build an rpm out of this. This seems quite complicated.
- to actually test the initrd, it'd not enough to "boot it" on its own. To
  say that it works, we need to test switch-root to the host system.

So it seems more natural to me to build an rpm, and then do the testing
starting from this rpm. Users would consume the initrd as an rpm, so we want
to test it the same way. E.g. in openqa, install a system with the initrd rpm,
and check if it boots.

Zbyszek
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to