diff --git a/opi5-efi.spec b/opi5-efi.spec index bfa15e0..e2837f0 100644 --- a/opi5-efi.spec +++ b/opi5-efi.spec @@ -5,7 +5,7 @@ Name: opi5-efi Version: 0.0.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Necessary files for booting from vendor U-Boot on Orange Pi 5 License: GPL Provides: %{name}-%{version} @@ -52,12 +52,12 @@ else exit 1 fi -mkimage -C none -A arm -T script -d /boot/efi/boot.cmd-%{full_ver} /boot/efi/boot.scr-%{full_ver} -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 +mkimage -C none -A arm -T script -d /boot/efi/boot.cmd-%{full_ver} /boot/efi/boot.scr-%{full_ver} +cp /boot/efi/boot.scr-%{full_ver} /boot/efi/boot.scr + diff /boot/efi/boot.cmd /boot/efi/boot.cmd-%{full_ver} > /boot/diff_boot_cmd diff /boot/efi/uEnv.txt /boot/efi/uEnv.txt-%{full_ver} > /boot/diff_uenv_txt