summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-01-31 09:37:31 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2021-01-31 09:37:57 +0000
commit365cea28d6623c3d7a12623573147d8998cfb314 (patch)
tree71dbe66eb8859ed233710094dbc84c91b0aa1c09 /app-emulation/qemu/files
parentnet-misc/minidlna: Fix socket leak (diff)
downloadgentoo-365cea28d6623c3d7a12623573147d8998cfb314.tar.gz
gentoo-365cea28d6623c3d7a12623573147d8998cfb314.tar.bz2
gentoo-365cea28d6623c3d7a12623573147d8998cfb314.zip
app-emulation/qemu: fix firmware paths in json files
Fixed-by: Jannik Glückert Closes: https://bugs.gentoo.org/766743 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-emulation/qemu/files')
-rw-r--r--app-emulation/qemu/files/qemu-5.2.0-fix-firmware-path.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-emulation/qemu/files/qemu-5.2.0-fix-firmware-path.patch b/app-emulation/qemu/files/qemu-5.2.0-fix-firmware-path.patch
new file mode 100644
index 000000000000..53969833795c
--- /dev/null
+++ b/app-emulation/qemu/files/qemu-5.2.0-fix-firmware-path.patch
@@ -0,0 +1,16 @@
+Se absolute filename in files like
+ /usr/share/qemu/firmware/50-edk2-x86_64-secure.json
+
+Bug: https://bugs.gentoo.org/766743
+Patch-by: Jannik Glückert
+--- a/pc-bios/descriptors/meson.build
++++ b/pc-bios/descriptors/meson.build
+@@ -8,7 +8,7 @@ foreach f: [
+ ]
+ configure_file(input: files(f),
+ output: f,
+- configuration: {'DATADIR': qemu_datadir},
++ configuration: {'DATADIR': get_option('prefix') / qemu_datadir},
+ install: get_option('install_blobs'),
+ install_dir: qemu_datadir / 'firmware')
+ endforeach