Building RPMs for multiple distributions on one machine

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

 



Hi,

I have started out with FC1, later FC3 and am now on FC4 and just started downloading FC5. I have not migrated all the older
production FC1/FC3 machines to FC3 / FC4 etc, because I did not want to risk breaking them. So I have different machines on
different versions of Fedora

In between, I have made a bunch of RPMs myself.
However, with each version of fedora, sometimes even each version of a kernel, it seems like I need a different build environment.
Instead of using the production machines to build the RPMs on them, am using separate build machines (older machines that have been
phased out).
Since more and more versions need to be supported, it seems to be irrational to set up yet another one of those machines for each
new version that needs to be supported.

What is the best way of dealing with this without having to have a separate build machine for each environment? I tried to google
around a bit but have not found much.
I am thinking something along the lines of having one system with multiple partitions per environment, but am not sure about the
details...

Thinking about the minimum partitions a typical system needs I would come up with:
1. Swap
2. /boot
3. / (root)

1. Since only one environment at a time is running on the machine, the SWAP partition can probably be shared!?

2. I assume I could have one "/boot" partition for all environments together with different kernel images in there?

3. I'd probably need a different root partition ("/") for each environment that has to be kept up2date separately

4. /tmp can probably be shared as well in order to reduce the size of each of the respective root partitions?

5. How about the rpm work directory that all the work is done in? Can that be shared? Right now I am inclined to think that it
shoudl be possible, as long as the spec file uses the right variables in the right place and these variables are initialized
properly by each environment at boot time.

Is this how something like this is done?

Thanks,

MARK


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux