!161 shim包中启动项名称换标替换
From: @lijuzhang Reviewed-by: @jinlun123123, @HuaxinLuGitee Signed-off-by: @HuaxinLuGitee
This commit is contained in:
commit
646d2054c2
10
shim.spec
10
shim.spec
@ -25,7 +25,7 @@
|
||||
|
||||
Name: shim
|
||||
Version: 15.6
|
||||
Release: 21
|
||||
Release: 22
|
||||
Summary: First-stage UEFI bootloader
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
License: BSD
|
||||
@ -192,6 +192,11 @@ install -m 0700 %{SOURCE1} ${RPM_BUILD_ROOT}/%{shimefivendor}
|
||||
%ifarch x86_64
|
||||
install -m 0700 %{SOURCE2} ${RPM_BUILD_ROOT}/%{shimefivendor}
|
||||
%endif
|
||||
%if "%{_vendor}" != "openEuler"
|
||||
iconv -f UTF-16LE -t UTF-8 ${RPM_BUILD_ROOT}/%{shimefivendor}/%{bootcsv} > /tmp/%{bootcsv}.tmp
|
||||
sed -i -e 's/openeuler/%{_vendor}/g' -e 's/openEuler/%{_vendor}/g' /tmp/%{bootcsv}.tmp
|
||||
iconv -f UTF-8 -t UTF-16LE /tmp/%{bootcsv}.tmp > ${RPM_BUILD_ROOT}/%{shimefivendor}/%{bootcsv}
|
||||
%endif
|
||||
|
||||
# install the debug symbols
|
||||
install -d ${RPM_BUILD_ROOT}/usr/lib/debug/%{shimefivendor}
|
||||
@ -224,6 +229,9 @@ make test
|
||||
/usr/src/debug/%{name}-%{version}-%{release}/*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 23 2024 lijuzhang <lijuzhang@inspur.com> - 15.6-22
|
||||
- replace vendor for BOOTX64.CSV or BOOTAA64.CSV
|
||||
|
||||
* Tue Mar 26 2024 yixiangzhike <yixiangzhike007@163.com> - 15.6-21
|
||||
- backport patch from upstream
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user