Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 734146 - sys-firmware/edk2-ovmf should install json metadata in /usr/share/qemu/firmware
Summary: sys-firmware/edk2-ovmf should install json metadata in /usr/share/qemu/firmware
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-27 20:18 UTC by Paul B. Henson
Modified: 2021-04-04 23:07 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul B. Henson 2020-07-27 20:18:38 UTC
Current versions of libvirt look for json metadata in /usr/share/qemu/firmware, and if any is found, ignore the value of nvram in the /etc/libvirt/qemu.conf file. For now I just wiped the  /usr/share/qemu/firmware directory to make it work again but this package should probably install a json manifest so it works out of the box?

Per the libvirt config file:

# Location of master nvram file
#
# This configuration option is obsolete. Libvirt will follow the
# QEMU firmware metadata specification to automatically locate
# firmware images. See docs/interop/firmware.json in the QEMU
# source tree. These metadata files are distributed alongside any
# firmware images intended for use with QEMU.
#
# NOTE: if ANY firmware metadata files are detected, this setting
# will be COMPLETELY IGNORED.
Comment 1 Larry the Git Cow gentoo-dev 2020-10-02 10:38:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4342ef6d64286089e4a4b25dca5b15a5edb53dca

commit 4342ef6d64286089e4a4b25dca5b15a5edb53dca
Author:     Vadim Misbakh-Soloviov <mva@gentoo.org>
AuthorDate: 2020-10-02 10:37:58 +0000
Commit:     Vadim Misbakh-Soloviov <mva@gentoo.org>
CommitDate: 2020-10-02 10:37:58 +0000

    sys-firmware/edk2-ovmf: Bump
    
    Bug: https://bugs.gentoo.org/712288
    Bug: https://bugs.gentoo.org/744412
    Bug: https://bugs.gentoo.org/734146
    Package-Manager: Portage-3.0.6, Repoman-3.0.1
    Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>

 sys-firmware/edk2-ovmf/Manifest                |   5 +
 sys-firmware/edk2-ovmf/edk2-ovmf-201905.ebuild |   3 +
 sys-firmware/edk2-ovmf/edk2-ovmf-202008.ebuild | 184 +++++++++++++++++++++++++
 3 files changed, 192 insertions(+)
Comment 2 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2020-10-02 10:41:58 UTC
Fixed in ~arch.
Let's wait for stabilization before closing the bug.
Comment 3 Larry the Git Cow gentoo-dev 2020-10-02 10:53:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ac65a2f8d96632d610823b56df21d0c624a718a

commit 6ac65a2f8d96632d610823b56df21d0c624a718a
Author:     Vadim Misbakh-Soloviov <mva@gentoo.org>
AuthorDate: 2020-10-02 10:53:29 +0000
Commit:     Vadim Misbakh-Soloviov <mva@gentoo.org>
CommitDate: 2020-10-02 10:53:29 +0000

    sys-firmware/edk2-ovmf: fix qemu firmwares tarball digest
    
    Bug: https://bugs.gentoo.org/734146
    Package-Manager: Portage-3.0.6, Repoman-3.0.1
    Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>

 sys-firmware/edk2-ovmf/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 Matthias Maier gentoo-dev 2021-04-04 23:07:44 UTC
commit 98ee06b614dad0f70fa11493723e63b4d84679bf (HEAD -> master, origin/master, origin/HEAD)
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Sun Apr 4 18:05:58 2021 -0500

    sys-firmware/edk2-ovmf: drop old
    
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>