Update to deal with changes for Raspberry Pi firmware handling
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
This commit is contained in:
parent
f96a309329
commit
d33a56133a
@ -51,7 +51,6 @@ glibc-all-langpacks
|
|||||||
%post
|
%post
|
||||||
|
|
||||||
# Setup Raspberry Pi firmware
|
# Setup Raspberry Pi firmware
|
||||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
|
||||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
|
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
|
||||||
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
|
|
||||||
|
@ -61,8 +61,6 @@ glibc-all-langpacks
|
|||||||
%post
|
%post
|
||||||
|
|
||||||
# Setup Raspberry Pi firmware
|
# Setup Raspberry Pi firmware
|
||||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
|
||||||
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
|
|
||||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
|
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
|
@ -34,9 +34,7 @@ arch=$(uname -m)
|
|||||||
|
|
||||||
# Setup Raspberry Pi firmware
|
# Setup Raspberry Pi firmware
|
||||||
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
||||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
|
||||||
if [[ $arch == "aarch64" ]]; then
|
if [[ $arch == "aarch64" ]]; then
|
||||||
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
|
|
||||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
else
|
else
|
||||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
|
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
|
||||||
|
@ -56,8 +56,6 @@ dhcp-client
|
|||||||
%post
|
%post
|
||||||
|
|
||||||
# Setup Raspberry Pi firmware
|
# Setup Raspberry Pi firmware
|
||||||
#cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
|
||||||
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
|
|
||||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||||
|
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
|
||||||
|
Loading…
Reference in New Issue
Block a user