Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881099 - app-emulation/qemu-9999 Firmwares at /usr/share/qemu/ not present
Summary: app-emulation/qemu-9999 Firmwares at /usr/share/qemu/ not present
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: John Helmert III
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-12 11:30 UTC by Lucas Rizzini
Modified: 2022-11-16 04:38 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Files discrepancy between the ebuild and live ebuild versions (emerge.txt,16.55 KB, text/plain)
2022-11-12 11:34 UTC, Lucas Rizzini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Rizzini 2022-11-12 11:30:46 UTC
Whenever I use the live build, I don't have the firmware I need for my VM, which, in this case, would be the kvmvapic.bin and efi-e1000.rom. I can o only guess that would be true for any firmware. I had to copy these files from my BTRFS snapshot. 

Is that purposeful?
Comment 1 Lucas Rizzini 2022-11-12 11:34:29 UTC
Created attachment 831943 [details]
Files discrepancy between the ebuild and live ebuild versions

Mostly firmwares.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-11-16 04:38:16 UTC
The file changes between non-live and live:

<<<          obj /usr/share/qemu/hppa-firmware.img
<<<          obj /usr/share/qemu/firmware/60-edk2-x86_64.json
<<<          obj /usr/share/qemu/firmware/60-edk2-i386.json
<<<          obj /usr/share/qemu/firmware/60-edk2-arm.json
<<<          obj /usr/share/qemu/firmware/60-edk2-aarch64.json
<<<          obj /usr/share/qemu/firmware/50-edk2-x86_64-secure.json
<<<          obj /usr/share/qemu/firmware/50-edk2-i386-secure.json
<<<          obj /usr/share/qemu/efi-vmxnet3.rom
<<<          obj /usr/share/qemu/efi-virtio.rom
<<<          obj /usr/share/qemu/efi-rtl8139.rom
<<<          obj /usr/share/qemu/efi-pcnet.rom
<<<          obj /usr/share/qemu/efi-ne2k_pci.rom
<<<          obj /usr/share/qemu/efi-eepro100.rom
<<<          obj /usr/share/qemu/efi-e1000e.rom
<<<          obj /usr/share/qemu/efi-e1000.rom
<<<          obj /usr/share/qemu/edk2-x86_64-secure-code.fd
<<<          obj /usr/share/qemu/edk2-x86_64-code.fd
<<<          obj /usr/share/qemu/edk2-licenses.txt
<<<          obj /usr/share/qemu/edk2-i386-vars.fd
<<<          obj /usr/share/qemu/edk2-i386-secure-code.fd
<<<          obj /usr/share/qemu/edk2-i386-code.fd
<<<          obj /usr/share/qemu/edk2-arm-vars.fd
<<<          obj /usr/share/qemu/edk2-arm-code.fd
<<<          obj /usr/share/qemu/edk2-aarch64-code.fd
<<<          obj /usr/share/qemu/canyonlands.dtb
<<<          obj /usr/share/qemu/bios.bin
<<<          obj /usr/share/qemu/bios-microvm.bin
--- replaced sym /usr/share/qemu/bios-256k.bin
<<<          obj /usr/share/qemu/bamboo.dtb
<<<          obj /usr/share/qemu/QEMU,tcx.bin
<<<          obj /usr/share/qemu/QEMU,cgthree.bin
--- replaced dir /usr/share/qemu

So not only does it seem like some QEMU files aren't being installed by the live ebuild, it also seems that edk2 (and maybe more?) are insufficiently unbundled in the non-live ebuilds, which is a separate problem.