bump to 0.0.1-4

This commit is contained in:
Pratham Patel 2023-10-05 10:12:33 +05:30
parent e6b49bd7e8
commit 9bb72c71d1
No known key found for this signature in database
1 changed files with 3 additions and 2 deletions

View File

@ -5,11 +5,11 @@
Name: opi5-efi
Version: 0.0.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Necessary files for booting from vendor U-Boot on Orange Pi 5
License: GPL
Provides: %{name}-%{version}
Requires: uboot-tools
Requires: kernel-opi5-tfg uboot-tools
%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}
else
echo "ERROR: No /boot/.uname found to extract 'uname -r' from."
exit 1
fi
mkimage -C none -A arm -T script -d /boot/efi/boot.cmd-%{full_ver} /boot/efi/boot.scr-%{full_ver}