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 :)