Accepting request 1088979 from home:gary_lin:branches:devel:openSUSE:Factory

- Remove the sym-links in /usr/lib64/efi for the newer distro
  versions since we don't use them anymore

OBS-URL: https://build.opensuse.org/request/show/1088979
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim-leap?expand=0&rev=36
This commit is contained in:
Gary Ching-Pang Lin 2023-05-25 12:41:22 +00:00 committed by Git OBS Bridge
parent c64dce585c
commit 3e07fcf28e
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 25 07:48:54 UTC 2023 - Gary Ching-Pang Lin <glin@suse.com>
- Remove the sym-links in /usr/lib64/efi for the newer distro
versions since we don't use them anymore
-------------------------------------------------------------------
Wed Jul 21 09:38:30 UTC 2021 - jlee@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package shim-leap
#
# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -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/
#
@ -57,6 +57,11 @@ rpm2cpio %{SOURCE0} | cpio --extract --unconditional --preserve-modification-tim
cp -a * %{buildroot}
cp %{S:1} .
%if %{undefined shim_lib64_share_compat}
# Remove the sym-links in /usr/lib64/efi
rm -rf %{buildroot}/usr/lib64/efi
%endif
%post -n shim
/sbin/update-bootloader --reinit || true