#77 Invoke pesign on efi architectures
Closed a year ago by zbyszek. Opened 2 years ago by zbyszek.
rpms/ zbyszek/systemd pesign  into  rawhide

file modified
+10
@@ -181,6 +181,10 @@ 

  %global have_bpf 1

  %endif

  

+ %ifarch %{efi}

+ BuildRequires:  pesign

+ %endif

+ 

  Requires(post): coreutils

  Requires(post): grep

  # systemd-machine-id-setup requires libssl
@@ -688,6 +692,12 @@ 

  install -m 0755 -D -t %{buildroot}%{_rpmconfigdir}/ %{SOURCE23}

  install -m 0755 -D -t %{buildroot}%{_rpmconfigdir}/ %{SOURCE24}

  

+ %ifarch %{efi}

+ pushd %{buildroot}%{_prefix}/lib/systemd/boot/efi

+ %pesign -s -i systemd-boot%{efi_arch}.efi -o systemd-boot%{efi_arch}.efi.signed

+ popd

+ %endif

+ 

  %find_lang %{name}

  

  # Split files in build root into rpms. See split-files.py for the

no initial comment

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

We don't want this. Instead, separate systemd-boot was created. See
https://src.fedoraproject.org/rpms/systemd-boot.

Pull-Request has been closed by zbyszek

a year ago
Metadata