perform checks for bin files

This commit is contained in:
Louis Abel 2024-05-04 01:57:50 -07:00
parent 378d332e2a
commit 2640abe83d
Signed by: label
GPG Key ID: 2A6975660E424560

View File

@ -730,8 +730,15 @@ function genericarm_sbc_steps() {
cp -f /boot/efi/EFI/rocky/grubaa64.efi /boot/efi/EFI/BOOT/BOOTAA64.EFI
fi
cp -f /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
cp -f /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin
if [ -f /usr/share/uboot/rpi_3/u-boot.bin ]; then
cp -f /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
fi
if [ -f /usr/share/uboot/rpi_4/u-boot.bin ]; then
cp -f /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin
fi
if [ -f /usr/share/uboot/rpi_arm64/u-boot.bin ]; then
cp -f /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin
fi
rpm -e dracut-config-generic
if [ -x /lib/kernel/install.d/10-devicetree.install ]; then