list files into debuginfo subpackage
This commit is contained in:
parent
6e53468c44
commit
80b0445704
11
shim.spec
11
shim.spec
@ -22,7 +22,7 @@
|
||||
|
||||
Name: shim
|
||||
Version: 15.4
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: First-stage UEFI bootloader
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
License: BSD
|
||||
@ -106,6 +106,12 @@ install -m 0700 %{SOURCE1} ${RPM_BUILD_ROOT}/%{shimefivendor}
|
||||
install -m 0700 %{SOURCE2} ${RPM_BUILD_ROOT}/%{shimefivendor}
|
||||
%endif
|
||||
|
||||
# install the debug symbols
|
||||
install -d ${RPM_BUILD_ROOT}/usr/lib/debug/%{shimefivendor}
|
||||
install -m 644 fb%{efi_arch}.efi.debug ${RPM_BUILD_ROOT}/usr/lib/debug/%{shimefivendor}
|
||||
install -m 644 mm%{efi_arch}.efi.debug ${RPM_BUILD_ROOT}/usr/lib/debug/%{shimefivendor}
|
||||
install -m 644 shim%{efi_arch}.efi.debug ${RPM_BUILD_ROOT}/usr/lib/debug/%{shimefivendor}
|
||||
|
||||
cd ..
|
||||
|
||||
%files
|
||||
@ -130,6 +136,9 @@ cd ..
|
||||
/usr/src/debug/%{name}-%{version}-%{release}/*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 3 2022 panxiaohe <panxh.life@foxmail.com> - 15.4-2
|
||||
- list files into debuginfo subpackage
|
||||
|
||||
* Tue Dec 21 2021 panxiaohe <panxiaohe@huawei.com> - 15.4-1
|
||||
- update version to 15.4
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user