[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: OT: using mock to build for SLES



On Mon, Mar 06, 2006 at 10:13:14PM -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.

buildroots.xml

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

<?xml version="1.0"?>
<!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd">

<comps>
  <group>
   <id>build-minimal</id>
   <uservisible>true</uservisible>
   <name>Minimal Install</name>
   <packagelist>
     <packagereq type="mandatory">aaa_base</packagereq>
     <packagereq type="mandatory">bash</packagereq>
     <packagereq type="mandatory">glibc</packagereq>   
     <packagereq type="mandatory">glibc-devel</packagereq>   
     <packagereq type="mandatory">glibc-locale</packagereq>   
     <packagereq type="mandatory">sles-release</packagereq>
     <packagereq type="mandatory">buildsys-macros</packagereq>
   </packagelist>
  </group>
  <group>
   <id>build-base</id>
   <uservisible>true</uservisible>
   <name>Basic Install</name>
   <grouplist>
      <groupreq>build-minimal</groupreq>
   </grouplist>
   <packagelist>
      <packagereq type="mandatory">coreutils</packagereq>
      <packagereq type="mandatory">findutils</packagereq>
   </packagelist>
  </group>
  <group>
   <id>build</id>
   <uservisible>true</uservisible>
   <name>Build Install</name>
   <grouplist>
      <groupreq>build-base</groupreq>
      <groupreq>build-minimal</groupreq>
   </grouplist>
   <packagelist>
      <packagereq type="mandatory">make</packagereq>
      <packagereq type="mandatory">gcc</packagereq>      
      <packagereq type="mandatory">tar</packagereq>
      <packagereq type="mandatory">gzip</packagereq>
      <packagereq type="mandatory">patch</packagereq>
      <packagereq type="mandatory">unzip</packagereq>
      <packagereq type="mandatory">bzip2</packagereq>
      <packagereq type="mandatory">diffutils</packagereq>
      <packagereq type="mandatory">cpio</packagereq>
      <packagereq type="mandatory">gcc-c++</packagereq>
      <packagereq type="mandatory">autoconf</packagereq>
      <packagereq type="mandatory">gettext</packagereq>
      <packagereq type="mandatory">automake</packagereq>
      <packagereq type="mandatory">flex</packagereq>
      <packagereq type="mandatory">libtool</packagereq>
      <packagereq type="mandatory">strace</packagereq>
      <packagereq type="mandatory">bison</packagereq>
      <packagereq type="mandatory">binutils</packagereq>
      <packagereq type="mandatory">acl</packagereq>
      <packagereq type="mandatory">attr</packagereq>
      <packagereq type="mandatory">bind-utils</packagereq>
      <packagereq type="mandatory">bzip2</packagereq>
      <packagereq type="mandatory">cpp</packagereq>
      <packagereq type="mandatory">cracklib</packagereq>
      <packagereq type="mandatory">cvs</packagereq>
      <packagereq type="mandatory">cyrus-sasl</packagereq>
      <packagereq type="mandatory">db</packagereq>
      <packagereq type="mandatory">devs</packagereq>
      <packagereq type="mandatory">e2fsprogs</packagereq>
      <packagereq type="mandatory">file</packagereq>
      <packagereq type="mandatory">filesystem</packagereq>
      <packagereq type="mandatory">fillup</packagereq>
      <packagereq type="mandatory">gawk</packagereq>
      <packagereq type="mandatory">gdbm</packagereq>
      <packagereq type="mandatory">gdbm-devel</packagereq>
      <packagereq type="mandatory">gpm</packagereq>
      <packagereq type="mandatory">grep</packagereq>
      <packagereq type="mandatory">groff</packagereq>
      <packagereq type="mandatory">info</packagereq>
      <packagereq type="mandatory">insserv</packagereq>
      <packagereq type="mandatory">less</packagereq>
      <packagereq type="mandatory">libacl</packagereq>
      <packagereq type="mandatory">libattr</packagereq>
      <packagereq type="mandatory">libgcc</packagereq>
      <packagereq type="mandatory">libselinux</packagereq>
      <packagereq type="mandatory">libstdc++</packagereq>
      <packagereq type="mandatory">libxcrypt</packagereq>
      <packagereq type="mandatory">m4</packagereq>
      <packagereq type="mandatory">man</packagereq>
      <packagereq type="mandatory">mktemp</packagereq>
      <packagereq type="mandatory">module-init-tools</packagereq>
      <packagereq type="mandatory">ncurses</packagereq>
      <packagereq type="mandatory">ncurses-devel</packagereq>
      <packagereq type="mandatory">netcfg</packagereq>
      <packagereq type="mandatory">net-tools</packagereq>
      <packagereq type="mandatory">openldap2-client</packagereq>
      <packagereq type="mandatory">openssl</packagereq>
      <packagereq type="mandatory">pam</packagereq>
      <packagereq type="mandatory">pam-modules</packagereq>
      <packagereq type="mandatory">perl</packagereq>
      <packagereq type="mandatory">permissions</packagereq>
      <packagereq type="mandatory">popt</packagereq>
      <packagereq type="mandatory">procinfo</packagereq>
      <packagereq type="mandatory">procps</packagereq>
      <packagereq type="mandatory">psmisc</packagereq>
      <packagereq type="mandatory">pwdutils</packagereq>
      <packagereq type="mandatory">rcs</packagereq>
      <packagereq type="mandatory">readline</packagereq>
      <packagereq type="mandatory">sed</packagereq>
      <packagereq type="mandatory">sysvinit</packagereq>
      <packagereq type="mandatory">tcpd</packagereq>
      <packagereq type="mandatory">texinfo</packagereq>
      <packagereq type="mandatory">timezone</packagereq>
      <packagereq type="mandatory">util-linux</packagereq>
      <packagereq type="mandatory">vim</packagereq>
      <packagereq type="mandatory">zlib</packagereq>
      <packagereq type="mandatory">zlib-devel</packagereq>
      <packagereq type="mandatory">rpm</packagereq>   
      <packagereq type="mandatory">suse-build-key</packagereq>   
   </packagelist>
  </group>
</comps>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]