mirror of
https://pagure.io/fedora-kickstarts.git
synced 2026-01-24 00:45:48 +08:00
arm: Update Raspberry Pi config to use universal firmware
We can now use a single U-Boot firmware to boot all 64 bit variants of the Rasperry Pi so we can now simplify this some what. Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
This commit is contained in:
@@ -24,10 +24,11 @@ ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipk
|
||||
reboot
|
||||
|
||||
%post --erroronfail
|
||||
|
||||
# Find the architecture we are on
|
||||
arch=$(uname -m)
|
||||
# Setup Raspberry Pi firmware
|
||||
if [[ $arch == "aarch64" ]]; then
|
||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user