Compare commits
2 Commits
5504beff8f
...
e6b49bd7e8
Author | SHA1 | Date |
---|---|---|
Pratham Patel | e6b49bd7e8 | |
Pratham Patel | 64d4f3bc66 |
|
@ -5,7 +5,7 @@
|
|||
|
||||
Name: opi5-efi
|
||||
Version: 0.0.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Necessary files for booting from vendor U-Boot on Orange Pi 5
|
||||
License: GPL
|
||||
Provides: %{name}-%{version}
|
||||
|
@ -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