diff -Nru fwupd-1.2.10/debian/changelog fwupd-1.2.10/debian/changelog --- fwupd-1.2.10/debian/changelog 2020-01-09 01:25:38.000000000 -0700 +++ fwupd-1.2.10/debian/changelog 2020-01-09 01:25:38.000000000 -0700 @@ -1,11 +1,16 @@ fwupd (1.2.10-1ubuntu2~ubuntu18.04.3) bionic; urgency=medium + [ Yuan-Chen Cheng ] * d/p/0001-dont-semver-conversion.patch, d/p/0001-version-handling.patch d/p/0001-plain_support_in_version.patch: backport regression fix that we can install firmware with the same without --allow-reinstall in command line. the patch already merged in upstream 1.2.X branch. (LP: #1820768) + [ dann frazier ] + * d/p/0001-efi-use-a-wildcard-section-copy-for-final-EFI-genera.patch + - This avoids a crash on exec of fwupdaa64.efi (LP: #1858590) + -- Yuan-Chen Cheng Thu, 09 Jan 2020 16:25:38 +0800 fwupd (1.2.10-1ubuntu2~ubuntu18.04.2) bionic; urgency=medium diff -Nru fwupd-1.2.10/debian/patches/0001-efi-use-a-wildcard-section-copy-for-final-EFI-genera.patch fwupd-1.2.10/debian/patches/0001-efi-use-a-wildcard-section-copy-for-final-EFI-genera.patch --- fwupd-1.2.10/debian/patches/0001-efi-use-a-wildcard-section-copy-for-final-EFI-genera.patch 1969-12-31 17:00:00.000000000 -0700 +++ fwupd-1.2.10/debian/patches/0001-efi-use-a-wildcard-section-copy-for-final-EFI-genera.patch 2020-01-09 01:25:38.000000000 -0700 @@ -0,0 +1,31 @@ +From 8b044c6cb3d007803bd67ca5e6527ed89d5ecb62 Mon Sep 17 00:00:00 2001 +From: YiFei Zhu +Date: Wed, 13 Nov 2019 18:52:15 -0600 +Subject: [PATCH] efi: use a wildcard section copy for final EFI generation + +The GNU gold linker uses the section name `.rela.dyn` instead of +`.rela` for containing the relocation information. If this section +is not copied the EFI executable can crash. + +Fixes #1530 +[ backported by dann frazier ] + +Origin: https://github.com/fwupd/fwupd/commit/8b044c6cb3d007803bd67ca5e6527ed89d5ecb62 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1858590 +Last-Updated: 2020-01-06 + +Index: fwupd-1.2.10/plugins/uefi/efi/meson.build +=================================================================== +--- fwupd-1.2.10.orig/plugins/uefi/efi/meson.build ++++ fwupd-1.2.10/plugins/uefi/efi/meson.build +@@ -144,9 +144,7 @@ app = custom_target(efi_name, + '-j', '.data', + '-j', '.dynamic', + '-j', '.dynsym', +- '-j', '.rel', +- '-j', '.rela', +- '-j', '.reloc'] ++ '-j', '.rel*'] + + efi_format + + ['@INPUT@', '@OUTPUT@'], + install : true, diff -Nru fwupd-1.2.10/debian/patches/series fwupd-1.2.10/debian/patches/series --- fwupd-1.2.10/debian/patches/series 2020-01-09 01:25:01.000000000 -0700 +++ fwupd-1.2.10/debian/patches/series 2020-01-09 01:25:38.000000000 -0700 @@ -5,4 +5,4 @@ 0001-dont-semver-conversion.patch 0001-version-handling.patch 0001-plain_support_in_version.patch - +0001-efi-use-a-wildcard-section-copy-for-final-EFI-genera.patch