do a symlink
This commit is contained in:
parent
d8a4deedcf
commit
2741e6c60a
@ -5,7 +5,7 @@
|
||||
|
||||
Name: opi5-efi
|
||||
Version: 0.0.4
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: Necessary files for booting from vendor U-Boot on Orange Pi 5
|
||||
License: GPL
|
||||
Provides: %{name}-%{version}
|
||||
|
2
post.sh
2
post.sh
@ -23,5 +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"
|
||||
ln -s "/boot/uInitrd-${UNAME_R}" "/boot/uInitrd"
|
||||
mkimage -C none -A arm -T script -d "/boot/efi/boot.cmd" "/boot/efi/boot.scr"
|
||||
|
Loading…
Reference in New Issue
Block a user