Red Hat Bugzilla – Bug 761000
Add support for the /usr move
Last modified: 2012-06-20 10:23:15 EDT
+++ This bug was initially created as a clone of Bug #760996 +++
Created attachment 541981 [details]
patch for rpm to provide checks for the usr move
To enable the /usr move
we need the attached patch in rpm.
This helps to guard against updating converted F17 packages on an unconverted system.
CondNak on per-need basis - RHEL itself doesn't need this patch, this is only needed for the koji builders and there are three possibilities:
a) builders avoid the need for this by using a special version of filesystem package
a) builders use their own version of rpm with this patch applied (if a is not chosen this will be required temporarily anyway)
c) this patch gets applied to RHEL itself to eventually eliminate the need for a special version of rpm on the builders
From a fedora releng position I do not want to patch rpm on the builders at all. Please make it work without the need to. yes there has been cases in the past where we have done so. but it makes it really hard for people outside of Fedora to use rhel to build fedora rpms. which a lot of people do. its not a sustainable practice. especially since its a temporary measure its even better to avoid. since its likely to get forgotten in the future. patching rpm also makes life harder for secondary arches. and other consumers of rebuilding our sources.
(In reply to comment #3)
> From a fedora releng position I do not want to patch rpm on the builders at
> all. Please make it work without the need to.
Not sure, if that's really possible. Fedora 17 will not install any of the
converted packages on a system without the new RPM, or an unconverted
filessystem. That will obviously also applies to the builders.
Unless the builder always use --nodeps to install filesystem.rpm, or some other
trick, we need RPM in the builder provide the functionality needed by the
I don't have any idea for 'make it work without the need", and we need a
solution this week.
Any better idea?
ok, so Dennis does not want a fork for the Fedora build system.
Panu, we need this in RHEL-6.3!
While I'm not exactly eager to add Fedora-specific patches to RHEL (it wont be "temporary" at that point since we'll be forced to carry it for years to come) I guess I can live with that.
However adding it to RHEL-6.3 wont make it available on builders NOW.
prebuild rpm packages:
spec file: http://people.redhat.com/harald/downloads/rpm/4.8.0-19.el6.0.usrmove.1/rpm.spec
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Packages for Fedora >= 17 require a special rpmlib() dependency provided by rpm to track the /usr merge (http://fedoraproject.org/wiki/Features/UsrMove) being done in that version, otherwise it wont be possible to use eg. mock chroot to install and build packages for that distribution. This special tracking dependency has been added to rpm now to allow Red Hat Enterprise Linux 6 to be used as a host for building packages for these newer Fedora versions.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.