forked from pool/shim-leap
Accepting request 655467 from home:gary_lin:branches:devel:openSUSE:Factory
- Update shim-install to set the grub2-install target explicitly for some special cases. (bsc#1118363) OBS-URL: https://build.opensuse.org/request/show/655467 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim-leap?expand=0&rev=15
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ Summary: UEFI shim loader
|
||||
License: BSD-2-Clause
|
||||
Group: System/Boot
|
||||
Source: shim-14-lp150.8.5.1.x86_64.rpm
|
||||
Source1: shim-install
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
@@ -46,6 +47,7 @@ rpm2cpio %{SOURCE0} | cpio --extract --unconditional --preserve-modification-tim
|
||||
%install
|
||||
# purely repackaged
|
||||
cp -a * %{buildroot}
|
||||
install -m 755 %{SOURCE1} %{buildroot}/%{_sbindir}
|
||||
|
||||
%post -n shim
|
||||
/sbin/update-bootloader --reinit || true
|
||||
|
Reference in New Issue
Block a user