mock rfe - buildgroup

Michael E Brown Michael_E_Brown at dell.com
Fri Jul 6 22:02:30 UTC 2007


On Fri, Jul 06, 2007 at 05:32:49PM -0400, Jeff Sheltren wrote:
> On Jul 6, 2007, at 4:35 PM, Michael E Brown wrote:
> >
> >Jesse, Clark,
> >
> >    I've pushed to my git repo a patch representing option (2). Please
> >review. I've updated defaults.cfg to contain nothing. I've imported  
> >the
> >non-defaults.cfg part of Jesse's patch, updated mock.py and the legacy
> >configs for F6/7 and EPEL4/5 to use the old buildsys-build rpm method.
> >
> >
> 
> I don't like that this will break configs for my mock setup.
> 
> For example, I have not changed defaults.cfg at all, but all of the  
> fedora-*, redhat-*, epel* configs do have local modifications.  Now,  
> if you push a defaults.cfg file which is blank, that will cause my  
> unedited defaults.cfg to be overwritten.  Once that happens, all of  
> the other mock configs will be trying to do 'groupinstall buildsys- 
> build' which is a non-existent group (except apparently in rawhide).

Actually, I am pretty sure that it saves all the new files as ".rpmnew"
files. All the config files are %config(noreplace) in the spec file.

So your existing defaults.cfg and individual chroot configs would
remain as they are.

The only thing you would need to do to continue running would be to add
the new config option to your FC<=7 to use the old buildsys-build rpm.

> I would much prefer if the default install command remained the same  
> for the time being and the change would only be made in the  
> development config.

I would probably push this to -devel at first and wait a little while
before pushing to FC6/7, but at this point in time, I dont have any
intention of branching for something this trivial.

Jesse, Clark,
    How about I just change the -devel .cfg files to use the
groupinstall commands and back out the mock.py default change? This
would leave all of the config files with the exact install command they
need. Leave this for one release, and then add the mock.py default
change in the next release. This would give everybody time enough to get
their configs updated so they dont break.
--
Michael




More information about the Fedora-buildsys-list mailing list