[PATCH] sparc we build sparcv9 but the canonical arch is sparc make sure BUILDARCH is right

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 scripts/buildinstall |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/scripts/buildinstall b/scripts/buildinstall
index 34f5904..e5aa81e 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -191,9 +191,10 @@ if [ "$LOCALSCRIPTS" = "yes" ]; then
 else
     pushd $BUILDINSTDIR
     BUILDARCH=`repoquery -c $yumconf --qf "%{ARCH}\n" anaconda`
-    # This is a crappy implementation but x86 is the only place we currently see
+    # This is a crappy implementation but x86 and sparc are the only places we currently see it
     # BUILDARCH != BASEARCH (e.g. i586 != i386) so it'll suffice.
     BASEARCH=`echo $BUILDARCH | sed -e 's/i.86/i386/'`
+    BASEARCH=`echo $BUILDARCH | sed -e 's/sparcv9/sparc/'`
     yumdownloader -c $yumconf anaconda || exit 1
     rpm2cpio anaconda*rpm | cpio --quiet -iumd './usr*'
     rm -f anaconda*rpm
-- 
1.6.2.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux