Detect arch for copying uboot on arm.

Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
This commit is contained in:
Paul Whalen 2020-10-13 20:48:20 -04:00
parent f24970217d
commit d9ae4f700d
2 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,9 @@ glibc-all-langpacks
%post %post
# Find the architecture we are on
arch=$(uname -m)
# Setup Raspberry Pi firmware # Setup Raspberry Pi firmware
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
if [[ $arch == "aarch64" ]]; then if [[ $arch == "aarch64" ]]; then

View File

@ -54,6 +54,9 @@ sssd-client
%post %post
# Find the architecture we are on
arch=$(uname -m)
# Setup Raspberry Pi firmware # Setup Raspberry Pi firmware
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
if [[ $arch == "aarch64" ]]; then if [[ $arch == "aarch64" ]]; then