mock rpmdb version issue with epel-5-i386 target

Seth Vidal skvidal at fedoraproject.org
Tue Sep 15 14:35:04 UTC 2009



On Tue, 15 Sep 2009, Mike McLean wrote:

> On 09/14/2009 05:13 PM, Jason L Tibbitts III wrote:
>> MM>  I suppose we should add a way to access the yum localinstall
>> MM>  functionality through mock.
>> 
>> I have done this for years:
>> 
>> echo Installing built packages:
>> runmock -v --install $MOCKDIR/result/*{i386,x86_64,noarch}.rpm 2>&1
>> 
>> (dependent on the rest of the script, of course, but you get the idea).
>
> Ah, apparently yum now (and perhaps for a while) handles local rpms via the 
> install command as well as the localinstall command. Hence, you can access 
> this functionality via mock.
>
> At one point, yum did not do this and you had to use localinstall for local 
> rpms.
>
> Good to know. Thanks :)

localinstalls still care about gpgsignatures, though - so you make sure 
you have the right keys or turn off gpg checking.
-sv




More information about the Fedora-buildsys-list mailing list