diff --git a/opi5-efi.spec b/opi5-efi.spec index 784c8c0..f805cbf 100644 --- a/opi5-efi.spec +++ b/opi5-efi.spec @@ -5,7 +5,7 @@ Name: opi5-efi Version: 0.0.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Necessary files for booting from vendor U-Boot on Orange Pi 5 License: GPL Provides: %{name}-%{version} diff --git a/post.sh b/post.sh index f1be168..2bbb0a6 100644 --- a/post.sh +++ b/post.sh @@ -23,4 +23,5 @@ echo "rootdev=${BOOT_PART}" >> "/boot/efi/uEnv.txt" sed -i "s/setenvrootdev/setenv rootdev \"${BOOT_PART}\"/" "/boot/efi/boot.cmd" mkimage -A arm -T ramdisk -C none -n uInitrd -d "/boot/initramfs-${UNAME_R}.img" "/boot/uInitrd-${UNAME_R}" +ln "/boot/uInitrd-${UNAME_R}" "/boot/uInitrd" mkimage -C none -A arm -T script -d "/boot/efi/boot.cmd" "/boot/efi/boot.scr"