PDA

View Full Version : Build fedora for Custom Arch?


cadillackid
14th October 2010, 12:40 PM
is there any kind of automated build system to rebuild fedora for a different arch?

say i want to run FC-13 on an i586, and it is released as i686 only..
I really dont want to have to one by one rpmbuild on each SRPM package to get the arch changed over..

so im wondering if there is an already released python or shell script to handle this??

once I get it built I will push it to my machines via my own local repo and kickstart files to install on new machines... I just need to find an easier way to do a complete build...
-Christopher

vallimar
14th October 2010, 03:01 PM
Have you tested to see if it's even necessary? Try running a livecd on a machine to see if it runs alright.
Otherwise, use the same automation tools that Fedora uses, which is still mock I think, and in the repos.

cadillackid
14th October 2010, 03:27 PM

I was thinking they had something newer than mock.. but there are definitely issues in which I need to run everything compiled for a target of i586 instead of 686 (embedded soekris board the Geode LX).. I get some PCI bus errors and such related to storage when trying to run 686 distro on it...

compiling the kernel for i586 helps but it makes havok with RPM packages that are built for i686...

so my thought was to take an entire FC13 distro and rebuild it for i586 (at least the packages I need)...

FC11 which is built for i586 runs fine but many things are outdated on it.. so I felt it be easier to just get a new distro as opposed to bump the versions in the SRPMS of FC-11...

-Christopher

vallimar
14th October 2010, 11:03 PM
As far as I know they are still using mock, and still updating it as well.
GCC even has a tune/arch option for the geode now as well, so you wouldn't
have to limit yourself to generic i586.