fix cp and bump to 0.0.1-5

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

View File

@ -5,7 +5,7 @@
Name: opi5-efi
Version: 0.0.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Necessary files for booting from vendor U-Boot on Orange Pi 5
License: GPL
Provides: %{name}-%{version}
@ -53,7 +53,7 @@ else
fi
mkimage -C none -A arm -T script -d /boot/efi/boot.cmd-%{full_ver} /boot/efi/boot.scr-%{full_ver}
cp /boot/boot.scr-%{full_ver} /boot/efi/boot.scr
cp /boot/efi/boot.scr-%{full_ver} /boot/efi/boot.scr
mkimage -A arm -T ramdisk -C none -n uInitrd -d /boot/initramfs-${UNAME_R}.img /boot/uInitrd-${UNAME_R}
cp /boot/uInitrd-${UNAME_R} /boot/uInitrd