From 9bc86795c94cf49696d3647443de9f99d6fbe865 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 19 Apr 2021 15:12:27 +0100 Subject: [PATCH] Rebase to include the SBAT metadata section to allow fixing BootHole --- .gitignore | 1 + ...4af2029c2a8a3fb32ef27c39c214d9b5b13c.patch | 79 ++++++++++++------- fwupd.spec | 39 +++++---- sources | 2 +- 4 files changed, 79 insertions(+), 42 deletions(-) diff --git a/.gitignore b/.gitignore index 27f7403..dc5033b 100644 --- a/.gitignore +++ b/.gitignore @@ -74,3 +74,4 @@ /fwupd-1.5.3.tar.xz /fwupd-1.5.4.tar.xz /fwupd-1.5.5.tar.xz +/fwupd-1.5.9.tar.xz diff --git a/13524af2029c2a8a3fb32ef27c39c214d9b5b13c.patch b/13524af2029c2a8a3fb32ef27c39c214d9b5b13c.patch index d98207f..a498076 100644 --- a/13524af2029c2a8a3fb32ef27c39c214d9b5b13c.patch +++ b/13524af2029c2a8a3fb32ef27c39c214d9b5b13c.patch @@ -6,21 +6,30 @@ Date: Fri Apr 9 15:20:13 2021 +0100 This allows us to drop a build-time dep. -diff --git a/po/make-images b/po/make-images -index b1097bc2..c3cad9e7 100755 ---- a/po/make-images -+++ b/po/make-images -@@ -18,7 +18,6 @@ import gi - gi.require_version('Pango', '1.0') - gi.require_version('PangoCairo', '1.0') +diff --git a/plugins/uefi-capsule/make-images.py b/plugins/uefi-capsule/make-images.py +index f1b00b8d..1d15bcf3 100755 +--- a/plugins/uefi-capsule/make-images.py ++++ b/plugins/uefi-capsule/make-images.py +@@ -16,6 +16,8 @@ import argparse + import tarfile + import math + import io ++import struct ++ + from typing import Dict, Optional, Any + + import cairo +@@ -24,7 +26,6 @@ import gi + gi.require_version("Pango", "1.0") + gi.require_version("PangoCairo", "1.0") from gi.repository import Pango, PangoCairo -from PIL import Image - def usage(return_code): - """ print usage and exit with the supplied return code """ -@@ -29,6 +28,32 @@ def usage(return_code): - out.write("usage: make-images