[Yum] Building Custom Yum RPM's
seth vidal
skvidal at phy.duke.edu
Wed Jul 16 17:48:15 UTC 2003
On Wed, 2003-07-16 at 12:11, nathan r. hruby wrote:
> So,
>
> I'm building custom yum RPM's for our campus mirrors. So I'm wondering,
> can RedHat-8.0 run a yum-2.0 RPM built on Redhat9? Or do I need to
> build a yum RPM for each distro I support? If the latter, is than an
> easy way to maybe make a postin script ont he rpm to build the python
> for the machine it's being built on so I don;t have to build for 7.1,
> 7.2, 7.3, 8, and 9?
>
You need to update 8.0's rpm to at least rpm 4.1.1 - you can get it from
here: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x
once you do that then you can use yum-2.0 on rhl 8.0 and 9 identically -
including config file just use $releasever properly.
I think the python in rhl 8.0 and in 9 are similar enough to read the
pyc files from each.
check it to be sure, though.
you can't use yum-2.0 on 7.1, 7.2, and 7.3 - and the python for them is
significantly different.
-sv
More information about the Yum
mailing list