Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76557 - [qemu] Please make ovmf-* and seabios firmwares as optional dependency

Attached to Project: Arch Linux
Opened by Adam (adam900710) - Sunday, 13 November 2022, 23:30 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 27 December 2022, 21:27 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Anatol Pomozov (anatolik)
David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Firmware files are not hard requirement if some one is testing their own edk2 firmware builds.

Furthermore for x86 target, either ovmf and seabios is enough to boot a VM, no need to require both them.

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 27 December 2022, 21:27 GMT
Reason for closing:  Won't implement
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Tuesday, 15 November 2022, 01:49 GMT
seabios has always been a dep. edk2-ovmf was optional prior to 7.0. But I don't get your logic. We could just as easily say:

"coreutils" are not hard requirement if some one is testing their own "coreutils" builds.

Anyway, will defer to PM's better judgement.


Comment by Adam (adam900710) - Tuesday, 15 November 2022, 02:35 GMT
In fact, "coreutils" is a pretty good example.

I'm pretty sure there will be other coreutils alternatives, like uutils.

In that case, are you sure you still want a hard dependency on it?
Other than using "provides" keyword?
Comment by David Runge (dvzrv) - Sunday, 27 November 2022, 15:04 GMT
@adam900710: Thanks for the ticket.

I'm afraid I don't yet understand the use-case here.
If you'd install qemu from the upstream provided tarball, all edk2 firmwares and seabios would be installed.
We just devendor them, because we want to be able to build them from source instead of relying on precompiled blobs.

Adding both of these requirements to optdepends would mean that users installing qemu would not be able to run things out of the box and start investigating which of the qemu components requires further dependencies.
I don't believe that is a nice user experience and it is also contra to what upstream intends (with installing the firmware blobs unconditionally).
Comment by Adam (adam900710) - Sunday, 27 November 2022, 23:18 GMT
OK, I guess the root problem is ArchlinuxARM can not compile edk2-armvirt, so one has to use the prebuilt package from Archlinux.
It's just (precompiled) firmware for aarch64/arm virtualization, thus it has no arch dependency. (Thanks for the packager to properly set the arch properly).

I guess it's better to just make edk2-armvirt as optdepend for ArchlinuxARM instead, and later update the PKGBUILD of edk2-armvirt to be able to compile it natively under aarch64.

Feel free to close the case.
Thanks.

Loading...