"koji import " command fails
On 03/15/2010 05:50 AM, Eric Zhong wrote:
> i make SRPM dir, and put all srpms into it.
> i run the "koji import " or "koji import --link" , both fail.
> It looks like a Permission problem , but i can`t find it out.
> The mail
> does not help!
If you're importing only srpms, you're most likely using the import
The import command is an administrative command that imports *externally
built* rpms into the system. In general you should only be importing a
complete set of built rpms with it (source *and* binary/noarch rpms).
Importing just srpms creates a build for each that only contains the
srpm, which is almost certainly not what you want. That import will
actually prevent you from being able to rebuild those srpms because it
consumes the given NVRs.
If you want to rebuild an srpm in koji, then use the build command.
buildsys mailing list