[CentOS] [OT] building src rpm on RHEL5 using mock https://bugzilla.redhat.com/show_bug.cgi?id=680144

Nico Kadel-Garcia nkadel at gmail.com
Fri Feb 25 12:46:22 UTC 2011


On Fri, Feb 25, 2011 at 4:18 AM, Dag Wieers <dag at wieers.com> wrote:
> On Thu, 24 Feb 2011, Jason Pyeron wrote:
>
>> Does anyone have experience using mock on RHEL5 with the RHN?
>>
>> I use mock easily on Centos, I get errors like /bin/sh not found, useradd not
>> found build failed? messages from it on RHEL w/ RHN.
>>
>> Any suggestions on where to start looking.
>
> What I do for RPMforge is using an mrepo setup that synchronizes yum
> repositories from RHN using rhnget. Then point my buildsystem to those
> repositories. You can do the same with mock.

I use reposync to build a local yum repository. And I disable by
default, and only re-enable as necessary, the yum-rhn-plugin. (It's
such a resource pig on running systems!!!) and point my hosts to a
local repository, very much like CentOS does with its yum mirrors.
.



More information about the CentOS mailing list