The same issue was reported and patched on qemu-devel by Olaf Hering two months ago. The patch received three Reviewed-by tags, but nobody bothered to queue it.
[Qemu-devel] [PATCH v1] Makefile: remove DESTDIR from firmware file cont The thread is split over two months, hence two links below, into the mailing list archive: https://lists.gnu.org/archive/html/qemu-devel/2019-05/msg07093.html https://lists.gnu.org/archive/html/qemu-devel/2019-06/msg00690.html Patchew link: https://patchew.org/QEMU/20190530192812.17637-1-o...@aepfle.de/ There shouldn't be a need to post a new patch, just for someone to pick up what's been posted already. Phil: "get_maintainer.pl" reports no official owners for the root Makefile, but you come out on top as commit-signer (26/70). Can you pick this one up, please? Thanks! ** Changed in: qemu Status: New => In Progress -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1838703 Title: Makefile BUG in edk2 firmware install 4.1.0-rc3 Status in QEMU: In Progress Bug description: DESTDIR installs end up with wrong paths in JSON files installed to $prefix/share/qemu/firmware. For example, the file: 50-edk2-x86_64-secure.json ends up incorrectly with: "filename": "/build/qemu/pkg/qemu/usr/share/qemu/edk2-x86_64-secure- code.fd", instead of the correct: "filename": "/usr/share/qemu/edk2-x86_64-secure-code.fd", To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1838703/+subscriptions