diff --git a/opi5-efi.spec b/opi5-efi.spec index e2837f0..09c3e21 100644 --- a/opi5-efi.spec +++ b/opi5-efi.spec @@ -5,7 +5,7 @@ Name: opi5-efi Version: 0.0.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Necessary files for booting from vendor U-Boot on Orange Pi 5 License: GPL Provides: %{name}-%{version} @@ -44,7 +44,7 @@ if [ -f /boot/.uname ]; then UNAME_R=$(> /boot/efi/uEnv.txt-%{full_ver} + echo "rootdev=${BOOT_PART}" >> /boot/efi/uEnv.txt-%{full_ver} sed -i "s/setenvrootdev/setenv rootdev \"${BOOT_PART}\"/" /boot/efi/boot.cmd-%{full_ver} sed -i "s/setenvunamer/setenv unamer \"${UNAME_R}\"/" /boot/efi/boot.cmd-%{full_ver} else