fix conflict with pkg efi-filesystem
This commit is contained in:
parent
2c56e03c67
commit
621246d46c
1 changed files with 7 additions and 3 deletions
|
@ -27,15 +27,19 @@ echo "Nothing to build"
|
|||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/boot/efi
|
||||
cp %{SOURCE0} $RPM_BUILD_ROOT/boot/efi/boot.cmd
|
||||
cp %{SOURCE1} $RPM_BUILD_ROOT/boot/efi/uEnv.txt
|
||||
mkdir -p $RPM_BUILD_ROOT/opt/opi5-efi
|
||||
cp %{SOURCE0} $RPM_BUILD_ROOT/opt/opi5-efi/boot.cmd
|
||||
cp %{SOURCE1} $RPM_BUILD_ROOT/opt/opi5-efi/uEnv.txt
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
set -xeuf -o pipefail
|
||||
|
||||
cp /opt/opi5-efi/boot.cmd $RPM_BUILD_ROOT/boot/efi/boot.cmd
|
||||
cp /opt/opi5-efi/uEnv.txt $RPM_BUILD_ROOT/boot/efi/uEnv.txt
|
||||
|
||||
cp /boot/efi/boot.cmd /boot/efi/boot.cmd-%{full_ver}
|
||||
cp /boot/efi/uEnv.txt /boot/efi/uEnv.txt-%{full_ver}
|
||||
if [ -f /boot/.uname ]; then
|
||||
|
|
Loading…
Reference in a new issue