OT: using mock to build for SLES

Dan Williams dcbw at redhat.com
Mon Mar 13 03:26:41 UTC 2006


On Mon, 2006-03-06 at 22:13 -0600, Matt Domsch wrote:
> I've been looking at using mock to build srpms for Novell/SuSE SLES
> product, rather than using their build.rpm script.  With one little
> change to mock (below), seems to work pretty well.  opensuse-10.x is
> still a little weird, but SLES9 x86 and x86_64 seem to be building
> fine.
> 
> Here's the mock patch to pass -m to useradd, and I'll follow up with
> the buildroots.xml and mock cfg file example too.

Neat; does Fedora deal with the -m on useradd?  If not, perhaps we could
make the exact useradd arguments configurable in the mock config file
for the target to allow this.  Doesn't seem like a bad thing.

Dan





More information about the Fedora-buildsys-list mailing list