OT: using mock to build for SLES

Matt Domsch Matt_Domsch at dell.com
Tue Mar 14 21:46:51 UTC 2006


On Sun, Mar 12, 2006 at 10:26:41PM -0500, Dan Williams wrote:
> 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.

Yes.  The drawback is that useradd -m also populates the dotfiles from
/etc/skel ino the users's homedir.  Not that big a problem.


-- 
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com




More information about the Fedora-buildsys-list mailing list