bump to 0.0.1-4
This commit is contained in:
parent
e6b49bd7e8
commit
9bb72c71d1
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
Name: opi5-efi
|
Name: opi5-efi
|
||||||
Version: 0.0.1
|
Version: 0.0.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Necessary files for booting from vendor U-Boot on Orange Pi 5
|
Summary: Necessary files for booting from vendor U-Boot on Orange Pi 5
|
||||||
License: GPL
|
License: GPL
|
||||||
Provides: %{name}-%{version}
|
Provides: %{name}-%{version}
|
||||||
Requires: uboot-tools
|
Requires: kernel-opi5-tfg uboot-tools
|
||||||
|
|
||||||
%global full_ver %{version}-%{release}
|
%global full_ver %{version}-%{release}
|
||||||
|
|
||||||
@ -49,6 +49,7 @@ if [ -f /boot/.uname ]; then
|
|||||||
sed -i "s/setenvunamer/setenv unamer \"${UNAME_R}\"/" /boot/efi/boot.cmd-%{full_ver}
|
sed -i "s/setenvunamer/setenv unamer \"${UNAME_R}\"/" /boot/efi/boot.cmd-%{full_ver}
|
||||||
else
|
else
|
||||||
echo "ERROR: No /boot/.uname found to extract 'uname -r' from."
|
echo "ERROR: No /boot/.uname found to extract 'uname -r' from."
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkimage -C none -A arm -T script -d /boot/efi/boot.cmd-%{full_ver} /boot/efi/boot.scr-%{full_ver}
|
mkimage -C none -A arm -T script -d /boot/efi/boot.cmd-%{full_ver} /boot/efi/boot.scr-%{full_ver}
|
||||||
|
Loading…
Reference in New Issue
Block a user