forked from pool/grub2
Accepting request 151569 from Base:System
- grub.efi signing on build server. (forwarded request 151568 from michael-chang) OBS-URL: https://build.opensuse.org/request/show/151569 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=57
This commit is contained in:
commit
ea4e6b5652
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 7 10:38:42 UTC 2013 - mchang@suse.com
|
||||||
|
|
||||||
|
- grub.efi signing on build server.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 30 07:29:29 UTC 2013 - mchang@suse.com
|
Wed Jan 30 07:29:29 UTC 2013 - mchang@suse.com
|
||||||
|
|
||||||
|
11
grub2.spec
11
grub2.spec
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# needssslcertforbuild
|
||||||
|
|
||||||
Name: grub2
|
Name: grub2
|
||||||
%ifarch x86_64 ppc64
|
%ifarch x86_64 ppc64
|
||||||
@ -47,6 +48,11 @@ BuildRequires: xz-devel
|
|||||||
%if 0%{?suse_version} == 1210
|
%if 0%{?suse_version} == 1210
|
||||||
BuildRequires: guile
|
BuildRequires: guile
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch x86_64
|
||||||
|
%if 0%{?suse_version} >= 1230
|
||||||
|
BuildRequires: pesign-obs-integration
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
# Modules always contain just 32-bit code
|
# Modules always contain just 32-bit code
|
||||||
%define _libdir %{_exec_prefix}/lib
|
%define _libdir %{_exec_prefix}/lib
|
||||||
@ -333,6 +339,11 @@ cd grub-efi-%{version}
|
|||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
install -m 644 grub.efi $RPM_BUILD_ROOT%{_libdir}/%{name}/%{grubefiarch}/grub.efi
|
install -m 644 grub.efi $RPM_BUILD_ROOT%{_libdir}/%{name}/%{grubefiarch}/grub.efi
|
||||||
|
%ifarch x86_64
|
||||||
|
%if 0%{?suse_version} >= 1230
|
||||||
|
export BRP_PESIGN_FILES="%{_libdir}/%{name}/%{grubefiarch}/grub.efi"
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
# Create grub.efi link to system efi directory
|
# Create grub.efi link to system efi directory
|
||||||
# This is for tools like kiwi not fiddling with the path
|
# This is for tools like kiwi not fiddling with the path
|
||||||
|
Loading…
Reference in New Issue
Block a user