[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rpmorg-list
Subject:    Re: forcing BuildArch
From:       David Halik <dhalik () jla ! rutgers ! edu>
Date:       2007-09-29 23:57:45
Message-ID: 46FEE679.8010206 () jla ! rutgers ! edu
[Download RAW message or body]


> The difference is likely compiled into lib/rpmrc.c translating uname(2).
>
> Having gook compiled into rpm is one of many reasons why rpmrc
> file handling has been removed.
>
> In rpm-4.4.7+, the --target option can be used to set the arch, what
> you see is what you get.
>
> Meanwhile, try
>     mkdir -p /etc/rpm
>     echo "sparc64-sun-solaris2.9" > /etc/rpm/platform
>
> 73 de Jeff
>

That worked great! Thanks Jeff. Are there any other locations I might be 
able to specify this as well? It's not the end of the world, but we try 
to reserve /etc for Sun only. I tried /usr/local/etc on a whim with no luck.

-- 
================================
David Halik
Systems Programmer
OSS/NBCS - OIT Rutgers
dhalik@jla.rutgers.edu
================================ 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic