On Monday 14 September 2009 08:02:53 am Seth Vidal wrote: > On Sun, 13 Sep 2009, Dennis Gilmore wrote: > > --- > > 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 > > Is the above RUN on the arch in question? > > b/c you could do: > > python -c "import rpmUtils.arch; \ > print rpmUtils.arch.getCanonArch(skipRpmPlatform = True)" > It is on sparc i get sparc64v out and not sparc we need to run as a 64 bit process to make sure we install our kernel but the canonical arch should be sparc i suspect ppc would be the same. Dennis
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list