[PATCH] Add anaconda-runtime to the package list for buildinstall

Jeroen van Meeuwen kanarip at kanarip.com
Mon Apr 21 08:54:13 UTC 2008


Mark McLoughlin wrote:
> With e.g.:
> 
>   repo --name=rawhide --baseurl=http://foo
> 
>   %packages
>   %end
> 
> You get:
> 
>   OSError: Got an error from /usr/lib/anaconda-runtime/buildinstall:
> 
> and trying out the buildinstall command directly, you see:
> 
>   Running buildinstall...
>   No Match for argument anaconda-runtime
>   Nothing to download
> 
> The issue here is that one of the first things buildinstall
> tries to do is install anaconda-runtime from the supplied
> repository, so the user must add anaconda-runtime to the
> package list or pungi fails.
> 
> Automatically add it to the package list rather than
> requiring the user to do it.
> 

Because pungi doesn't pull in *any* "required" packages, I was reluctant 
to submit this patch... It seems that once you go down this road you 
will want to catch *all* required packages, like we do in Revisor (and 
creates a very, very long list[1]).

Kind regards,

Jeroen van Meeuwen
-kanarip

[1] http://git.fedorahosted.org/git/?p=revisor;a=blob;f=revisor/cfg.py#l1165
-------------- next part --------------
A non-text attachment was scrubbed...
Name: force-anaconda-runtime-into-package-set.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-buildsys-list/attachments/20080421/678642ce/attachment.bin>


More information about the Fedora-buildsys-list mailing list