From 3a71e5f4e37870a6b666ada69a610452007e255f028389cb73ab67e1a28c4e90 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Wed, 20 Apr 2022 08:23:46 +0000 Subject: [PATCH] Accepting request 971002 from home:lnussel:branches:Base:System - spec: sign the systemd-boot efi binary (boo#1198586) OBS-URL: https://build.opensuse.org/request/show/971002 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1279 --- systemd.changes | 5 +++++ systemd.spec | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/systemd.changes b/systemd.changes index 95301ad7..bd67d985 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 20 07:59:23 UTC 2022 - Ludwig Nussel + +- spec: sign the systemd-boot efi binary (boo#1198586) + ------------------------------------------------------------------- Tue Apr 19 11:17:03 UTC 2022 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 4bcf3412..f9ed16fa 100644 --- a/systemd.spec +++ b/systemd.spec @@ -305,6 +305,7 @@ License: GPL-2.0-only URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html %if %{with sd_boot} BuildRequires: gnu-efi +BuildRequires: pesign-obs-integration %endif Requires: %{name} = %{version}-%{release} %systemd_requires @@ -720,6 +721,12 @@ Have fun with these services at your own risk. %install %meson_install +%if %{with sd_boot} +%ifarch x86_64 +export BRP_PESIGN_FILES="/usr/lib/systemd/boot/efi/systemd-bootx64.efi" +%endif +%endif + # Don't ship resolvconf symlink for now as it conflicts with the # binary shipped by openresolv and provides limited compatibility # only