remove dupes
This commit is contained in:
parent
5504beff8f
commit
64d4f3bc66
@ -37,11 +37,9 @@ 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 /opt/opi5-efi/boot.cmd /boot/efi/boot.cmd-%{full_ver}
|
||||
cp /opt/opi5-efi/uEnv.txt /boot/efi/uEnv.txt-%{full_ver}
|
||||
|
||||
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
|
||||
UNAME_R=$(</boot/.uname)
|
||||
BOOT_PART=$(grep '/ ' /etc/fstab | awk '{print $1}')
|
||||
|
Loading…
Reference in New Issue
Block a user