aboutsummaryrefslogtreecommitdiffstats
path: root/community/fwupd/2902.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/fwupd/2902.patch')
-rw-r--r--community/fwupd/2902.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/community/fwupd/2902.patch b/community/fwupd/2902.patch
deleted file mode 100644
index fc97c50d32f..00000000000
--- a/community/fwupd/2902.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 4c730662167410c1d34fe245e92cbc8adca181b7 Mon Sep 17 00:00:00 2001
-From: Richard Hughes <richard@hughsie.com>
-Date: Thu, 18 Feb 2021 18:53:59 +0000
-Subject: [PATCH 1/2] uefi-capsule: Include all the sections when using objcopy
-
-Fixes the regression introduced in fde4b1676a2c64e70bebd88f7720307c62635654
----
- plugins/uefi-capsule/efi/generate_binary.py | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/plugins/uefi-capsule/efi/generate_binary.py b/plugins/uefi-capsule/efi/generate_binary.py
-index b8a0afb34..bb68afea4 100755
---- a/plugins/uefi-capsule/efi/generate_binary.py
-+++ b/plugins/uefi-capsule/efi/generate_binary.py
-@@ -88,8 +88,12 @@ def _run_objcopy(args):
- "-j",
- ".sdata",
- "-j",
-+ ".data",
-+ "-j",
- ".dynamic",
- "-j",
-+ ".dynsym",
-+ "-j",
- ".rel*",
- tfd.name,
- args.outfile,
-
-From 9bb777a8614a81f6ab44c85c13c50a804660bf87 Mon Sep 17 00:00:00 2001
-From: Richard Hughes <richard@hughsie.com>
-Date: Thu, 18 Feb 2021 19:03:28 +0000
-Subject: [PATCH 2/2] uefi-capsule: Set the component generation to 1
-
-See https://github.com/rhboot/shim/blob/main/SBAT.md
----
- meson_options.txt | 2 +-
- plugins/uefi-capsule/efi/generate_binary.py | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/meson_options.txt b/meson_options.txt
-index ad7430839..e4a013a72 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -43,7 +43,7 @@ option('efi-libdir', type : 'string', description : 'path to the EFI lib directo
- option('efi-ldsdir', type : 'string', description : 'path to the EFI lds directory')
- option('efi-includedir', type : 'string', value : '/usr/include/efi', description : 'path to the EFI header directory')
- option('efi_os_dir', type: 'string', description : 'the hardcoded name of OS directory in ESP, e.g. fedora')
--option('efi_sbat_fwupd_generation', type : 'integer', value : 0, description : 'SBAT fwupd generation')
-+option('efi_sbat_fwupd_generation', type : 'integer', value : 1, description : 'SBAT fwupd generation')
- option('efi_sbat_distro_id', type : 'string', value : '', description : 'SBAT distribution ID, e.g. fedora')
- option('efi_sbat_distro_summary', type : 'string', value : '', description : 'SBAT distribution summary, e.g. Fedora')
- option('efi_sbat_distro_pkgname', type : 'string', value : '', description : 'SBAT distribution package name, e.g. fwupd')
-diff --git a/plugins/uefi-capsule/efi/generate_binary.py b/plugins/uefi-capsule/efi/generate_binary.py
-index bb68afea4..06a437250 100755
---- a/plugins/uefi-capsule/efi/generate_binary.py
-+++ b/plugins/uefi-capsule/efi/generate_binary.py
-@@ -159,7 +159,7 @@ def _run_genpeimg(args):
- )
- parser.add_argument(
- "--sbat-generation",
-- default=0,
-+ default=1,
- type=int,
- help="SBAT generation",
- )