On Fri, 2011-06-03 at 00:41 +0300, Ville Skyttä wrote: > Hello, > > Using current mock from git with current yum-3_2_X git outputs some > weird "Ignored option -c" messages: > > $ mock --verbose -r fedora-rawhide-x86_64 install rpm-build > [...] > DEBUG: ['/home/scop/cvs/yum/yummain.py', '--installroot', > '/var/lib/mock/fedora-rawhide-x86_64/root/', 'install', 'rpm-build'] > DEBUG: Executing command: ['/home/scop/cvs/yum/yummain.py', > '--installroot', '/var/lib/mock/fedora-rawhide-x86_64/root/', 'install', > 'rpm-build'] > [...] > DEBUG: Ignored option -c (probably due to merging -yc != -y -c) > [...] > > I don't see any of the mentioned options in the yummain.py command line > mock used. yum bug?
Yeh, I'd seen this but then forgotten about it. The problem is yum sees that --config was set to "/etc/yum.conf" but it's now "/var/lib/mock/fedora-rawhide-x86_64/root/etc/yum.conf" ... so thinks the user used -c after it was usable. Probably just need to check for installroot explicitly. _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
