Skip to contentSkip to conversation

EDK2 firmware patches

GIT PULL Philippe Mathieu-Daudé 4 participants 8 messages Aug 3, 2019 – Aug 7, 2019 Kbuild

lore
Share & tools
lore
#1 lore raw

[Qemu-devel] [PULL 1/1] Makefile: remove DESTDIR from firmware file content

In reply to Philippe Mathieu-Daudé

From: Olaf Hering <[email protected]>

The resulting firmware files should only contain the runtime path. Fixes commit 26ce90fde5c ("Makefile: install the edk2 firmware images and their descriptors")

Message-Id: <[email protected]>

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index cfab1561b9..85862fb81a 100644
@@ -881,7 +881,7 @@ ifneq ($(DESCS),)
 	$(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/firmware"
 	set -e; tmpf=$$(mktemp); trap 'rm -f -- "$$tmpf"' EXIT; \
 	for x in $(DESCS); do \
-		sed -e 's,@DATADIR@,$(DESTDIR)$(qemu_datadir),' \
+		sed -e 's,@DATADIR@,$(qemu_datadir),' \
 			"$(SRC_PATH)/pc-bios/descriptors/$$x" > "$$tmpf"; \
 		$(INSTALL_DATA) "$$tmpf" \
 			"$(DESTDIR)$(qemu_datadir)/firmware/$$x"; \
Signature · 1 line
2.20.1
#0 lore raw

The following changes since commit 9bcf2dfa163f67b0fec6ee0fe88ad5dc5d69dc59:

Merge remote-tracking branch 'remotes/elmarco/tags/slirp-CVE-2019-14378-pull-request' into staging (2019-08-02 13:06:03 +0100)

are available in the Git repository at:

https://gitlab.com/philmd/qemu.git tags/edk2-next-20190803

for you to fetch changes up to 177cd674d6203d3c1a98e170ea56c5a904ac4ce8:

Makefile: remove DESTDIR from firmware file content (2019-08-03 09:52:32 +0200)

----------------------------------------------------------------
A harmless build-sys patch that fixes a regression affecting Linux distributions packaging QEMU.

----------------------------------------------------------------

Olaf Hering (1):
Makefile: remove DESTDIR from firmware file content

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.20.1
#2 lore raw
Quoted 13 lines · Philippe Mathieu-Daudé

The following changes since commit 9bcf2dfa163f67b0fec6ee0fe88ad5dc5d69dc59:

Merge remote-tracking branch 'remotes/elmarco/tags/slirp-CVE-2019-14378-pull-request' into staging (2019-08-02 13:06:03 +0100)

are available in the Git repository at:

https://gitlab.com/philmd/qemu.git tags/edk2-next-20190803

for you to fetch changes up to 177cd674d6203d3c1a98e170ea56c5a904ac4ce8:

Makefile: remove DESTDIR from firmware file content (2019-08-03 09:52:32 +0200)

Quoted 8 lines

----------------------------------------------------------------
A harmless build-sys patch that fixes a regression affecting Linux distributions packaging QEMU.

----------------------------------------------------------------

Olaf Hering (1):
Makefile: remove DESTDIR from firmware file content

Is this pullreq intended for 4.1 ?

thanks
-- PMM

#3 lore raw
Quoted 18 lines · Peter Maydell
Quoted 17 lines · Philippe Mathieu-Daudé

The following changes since commit 9bcf2dfa163f67b0fec6ee0fe88ad5dc5d69dc59:

Merge remote-tracking branch 'remotes/elmarco/tags/slirp-CVE-2019-14378-pull-request' into staging (2019-08-02 13:06:03 +0100)

are available in the Git repository at:

https://gitlab.com/philmd/qemu.git tags/edk2-next-20190803

for you to fetch changes up to 177cd674d6203d3c1a98e170ea56c5a904ac4ce8:

Makefile: remove DESTDIR from firmware file content (2019-08-03 09:52:32 +0200)

----------------------------------------------------------------
A harmless build-sys patch that fixes a regression affecting Linux distributions packaging QEMU.

Quoted 6 lines
Quoted 4 lines

----------------------------------------------------------------

Olaf Hering (1):
Makefile: remove DESTDIR from firmware file content

Is this pullreq intended for 4.1 ?

Please do pull it into 4.1 as the commit it fixes is aiming at 4.1 (just like the whole feature). If not included then distros will need to backport it anyway. Just my $0.02. Let's wait for Philippe's confirmation.

Michal

#4 lore raw

Hi Peter,

Quoted 19 lines · Michal Prívozník
Quoted 18 lines · Peter Maydell
Quoted 17 lines · Philippe Mathieu-Daudé

The following changes since commit 9bcf2dfa163f67b0fec6ee0fe88ad5dc5d69dc59:

Merge remote-tracking branch 'remotes/elmarco/tags/slirp-CVE-2019-14378-pull-request' into staging (2019-08-02 13:06:03 +0100)

are available in the Git repository at:

https://gitlab.com/philmd/qemu.git tags/edk2-next-20190803

for you to fetch changes up to 177cd674d6203d3c1a98e170ea56c5a904ac4ce8:

Makefile: remove DESTDIR from firmware file content (2019-08-03 09:52:32 +0200)

----------------------------------------------------------------
A harmless build-sys patch that fixes a regression affecting Linux distributions packaging QEMU.

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines

----------------------------------------------------------------

Olaf Hering (1):
Makefile: remove DESTDIR from firmware file content

Is this pullreq intended for 4.1 ?

Sorry, I was not sure how to comment on the pullreq cover (everything between the '---' lines get include in the merge commit description).

This fix a regression introduced during the current development cycle. Already 3 different distributions hit this issue and complained (Suse, ArchLinux and Fedora).
This is not a critical/security issue and distributions can easily backport this patch, but since there is a RC4 planned, it would be nice regarding distributors to fix this if possible.

Quoted 3 lines

Please do pull it into 4.1 as the commit it fixes is aiming at 4.1 (just like the whole feature). If not included then distros will need to backport it anyway. Just my $0.02. Let's wait for Philippe's confirmation.

Exactly.

Thanks,

Phil.

#5 lore raw
Quoted 25 lines · Philippe Mathieu-Daudé

Hi Peter,

Quoted 21 lines · Michal Prívozník
Quoted 20 lines · Peter Maydell
Quoted 19 lines · Philippe Mathieu-Daudé

The following changes since commit 9bcf2dfa163f67b0fec6ee0fe88ad5dc5d69dc59:

Merge remote-tracking branch 'remotes/elmarco/tags/slirp-CVE-2019-14378-pull-request' into staging (2019-08-02 13:06:03 +0100)

are available in the Git repository at:

https://gitlab.com/philmd/qemu.git tags/edk2-next-20190803

for you to fetch changes up to 177cd674d6203d3c1a98e170ea56c5a904ac4ce8:

Makefile: remove DESTDIR from firmware file content (2019-08-03 09:52:32 +0200)

----------------------------------------------------------------
A harmless build-sys patch that fixes a regression affecting Linux distributions packaging QEMU.

----------------------------------------------------------------

Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

Olaf Hering (1):
Makefile: remove DESTDIR from firmware file content

Is this pullreq intended for 4.1 ?

Sorry, I was not sure how to comment on the pullreq cover (everything between the '---' lines get include in the merge commit description).

Depends on your workflow. For me my pull-request-creation script creates a bunch of files which will be the emails to be sent out, and I can manually edit the 'cover letter' email before sending everything.

Quoted 6 lines

This fix a regression introduced during the current development cycle. Already 3 different distributions hit this issue and complained (Suse, ArchLinux and Fedora).
This is not a critical/security issue and distributions can easily backport this patch, but since there is a RC4 planned, it would be nice regarding distributors to fix this if possible.

OK, sounds good -- I just wanted to check. I've pushed the pullreq to master.

thanks
-- PMM

#6 lore raw
Quoted 31 lines · Peter Maydell
Quoted 30 lines · Philippe Mathieu-Daudé

Hi Peter,

Quoted 25 lines · Michal Prívozník
Quoted 24 lines · Peter Maydell
Quoted 13 lines · Philippe Mathieu-Daudé

The following changes since commit 9bcf2dfa163f67b0fec6ee0fe88ad5dc5d69dc59:

Merge remote-tracking branch 'remotes/elmarco/tags/slirp-CVE-2019-14378-pull-request' into staging (2019-08-02 13:06:03 +0100)

are available in the Git repository at:

https://gitlab.com/philmd/qemu.git tags/edk2-next-20190803

for you to fetch changes up to 177cd674d6203d3c1a98e170ea56c5a904ac4ce8:

Makefile: remove DESTDIR from firmware file content (2019-08-03 09:52:32 +0200)

Quoted 8 lines

----------------------------------------------------------------
A harmless build-sys patch that fixes a regression affecting Linux distributions packaging QEMU.

----------------------------------------------------------------

Olaf Hering (1):
Makefile: remove DESTDIR from firmware file content

Is this pullreq intended for 4.1 ?

Quoted 7 lines
Quoted 2 lines

Sorry, I was not sure how to comment on the pullreq cover (everything between the '---' lines get include in the merge commit description).

Depends on your workflow. For me my pull-request-creation script creates a bunch of files which will be the emails to be sent out, and I can manually edit the 'cover letter' email before sending everything.

OK (I don't want to give you extra manual work).

Quoted 9 lines
Quoted 6 lines

This fix a regression introduced during the current development cycle. Already 3 different distributions hit this issue and complained (Suse, ArchLinux and Fedora).
This is not a critical/security issue and distributions can easily backport this patch, but since there is a RC4 planned, it would be nice regarding distributors to fix this if possible.

OK, sounds good -- I just wanted to check. I've pushed the pullreq to master.

Thank you!

#7 lore raw
Quoted 49 lines · Philippe Mathieu-Daudé
Quoted 31 lines · Peter Maydell
Quoted 30 lines · Philippe Mathieu-Daudé

Hi Peter,

Quoted 25 lines · Michal Prívozník
Quoted 24 lines · Peter Maydell
Quoted 13 lines · Philippe Mathieu-Daudé

The following changes since commit 9bcf2dfa163f67b0fec6ee0fe88ad5dc5d69dc59:

Merge remote-tracking branch 'remotes/elmarco/tags/slirp-CVE-2019-14378-pull-request' into staging (2019-08-02 13:06:03 +0100)

are available in the Git repository at:

https://gitlab.com/philmd/qemu.git tags/edk2-next-20190803

for you to fetch changes up to 177cd674d6203d3c1a98e170ea56c5a904ac4ce8:

Makefile: remove DESTDIR from firmware file content (2019-08-03 09:52:32 +0200)

Quoted 8 lines

----------------------------------------------------------------
A harmless build-sys patch that fixes a regression affecting Linux distributions packaging QEMU.

----------------------------------------------------------------

Olaf Hering (1):
Makefile: remove DESTDIR from firmware file content

Is this pullreq intended for 4.1 ?

Quoted 7 lines
Quoted 2 lines

Sorry, I was not sure how to comment on the pullreq cover (everything between the '---' lines get include in the merge commit description).

Depends on your workflow. For me my pull-request-creation script creates a bunch of files which will be the emails to be sent out, and I can manually edit the 'cover letter' email before sending everything.

OK (I don't want to give you extra manual work).

Quoted 7 lines
Quoted 6 lines

This fix a regression introduced during the current development cycle. Already 3 different distributions hit this issue and complained (Suse, ArchLinux and Fedora).
This is not a critical/security issue and distributions can easily backport this patch, but since there is a RC4 planned, it would be nice regarding distributors to fix this if possible.

Quoted 5 lines
Quoted 2 lines

OK, sounds good -- I just wanted to check. I've pushed the pullreq to master.

Thank you!

Thank you all, I've updated <https://bugs.launchpad.net/qemu/+bug/1838703>.

Laszlo