Am 04.07.2012 23:09, schrieb Marcus Hüwe:
On 2012-07-04 19:42:01 +0200, Martin Weber wrote:
Hi all,
I have set up a company-wide yum repository which contains non-free third-party rpms. Following http://web.archiveorange.com/archive/v/6r2m99UGJvpq5Wh5EajT, I created a project to download these third party rpms in order to use them to build our own packages.
The DoD configuration seems to be correct, the file :fill.solv ist created. But the scheduler log always shows a 'bad config' for that repo and the build of our own packages fails with unresolved packages from the DoD project.
How does your project setup look like? I would do the following: - create a project A for your distro
Sorry, it's not quite clear to me what 'your distro' does mean.
- create a second project B with your third party rpms and add something like this to the project meta:
<repository name="standard"> <path project="A" repository="standard"/> <arch>i586</arch> <arch>x86_64</arch> </repository>
Normally there's no need to make any changes to B's project config (the one you edit via "osc meta prjconf B").
Just add B's repo to another project in order to build against the third party rpms.
I have one project that should download and provide the third party (RHEL) rpms for OBS: <project name="FTI-mirror-RHEL5"> <title>Mirrored RPMs from FTI and Ccur</title> <download baseurl="http://blah/rpms-mirror/RHEL5/" arch="i586" metafile="primary.xml" mtype="rpmmd"/> <build> <disable/> </build> <repository name="standard"> <arch>i586</arch> </repository> My second project contains the packages I want to build. I added the first project in order to get the missing third party dependencies: <project name="Razorcat:testing"> <description>Untested and instable builds</description> <build> <disable repository="FTI-mirror-RHEL5_standard"/> </build> <publish> <disable repository="FTI-mirror-RHEL5_standard"/> </publish> <repository name="CentOS_5"> <path repository="standard" project="openSUSE.org:CentOS:CentOS-5"/> Reply