[rtems-buildsys commit] Add suse-12.2-x86_64-rtems-infra.

Ralf Corsepius ralf at rtems.org
Fri Sep 7 05:31:11 UTC 2012


Module:    rtems-buildsys
Branch:    master
Commit:    cbde07597c7a934847f745566f6298f34b597b0c
Changeset: http://git.rtems.org/rtems-buildsys/commit/?id=cbde07597c7a934847f745566f6298f34b597b0c

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Wed Sep  5 17:21:14 2012 +0200

Add suse-12.2-x86_64-rtems-infra.

---

 rtems-mock/Makefile.in                             |   15 +++++-
 rtems-mock/configure                               |   20 ++++----
 rtems-mock/configure.ac                            |    2 +-
 rtems-mock/etc/mock/makefile.am                    |   10 ++++
 .../etc/mock/suse-12.2-x86_64-rtems-infra.cfg.in   |   45 ++++++++++++++++++++
 5 files changed, 78 insertions(+), 14 deletions(-)

diff --git a/rtems-mock/Makefile.in b/rtems-mock/Makefile.in
index 9bfb05c..17bfec6 100644
--- a/rtems-mock/Makefile.in
+++ b/rtems-mock/Makefile.in
@@ -259,7 +259,8 @@ CLEANFILES = bin/rtems-preprpms bin/rtems-drpmsclean \
 	etc/mock/suse-12.2-i586_64-rtems4.11.cfg \
 	etc/mock/suse-12.2-i586-rtems4.11.cfg \
 	etc/mock/suse-12.2-i586-rtems-infra.cfg \
-	etc/mock/suse-12.2-x86_64-rtems4.11.cfg
+	etc/mock/suse-12.2-x86_64-rtems4.11.cfg \
+	etc/mock/suse-12.2-x86_64-rtems-infra.cfg
 EXTRA_DIST = bin/rtems-preprpms.in bin/rtems-drpmsclean.in \
 	bin/rtems-mocksubmit.in bin/rtems-repoclean.in \
 	bin/rtems-repoupdate.in bin/rtems-rpm2tar.in \
@@ -325,7 +326,8 @@ EXTRA_DIST = bin/rtems-preprpms.in bin/rtems-drpmsclean.in \
 	etc/mock/suse-12.2-i586_64-rtems4.11.cfg.in \
 	etc/mock/suse-12.2-i586-rtems4.11.cfg.in \
 	etc/mock/suse-12.2-i586-rtems-infra.cfg.in \
-	etc/mock/suse-12.2-x86_64-rtems4.11.cfg.in am-buildgroups
+	etc/mock/suse-12.2-x86_64-rtems4.11.cfg.in \
+	etc/mock/suse-12.2-x86_64-rtems-infra.cfg.in am-buildgroups
 mockdatadir = $(datadir)/mock
 nobase_mockdata_DATA = 
 nobase_mockdata_HEADERS =  \
@@ -455,7 +457,8 @@ mockcfg_DATA = etc/mock/centos-5-i386-rtems4.10.cfg \
 	etc/mock/suse-12.2-i586_64-rtems4.11.cfg \
 	etc/mock/suse-12.2-i586-rtems4.11.cfg \
 	etc/mock/suse-12.2-i586-rtems-infra.cfg \
-	etc/mock/suse-12.2-x86_64-rtems4.11.cfg
+	etc/mock/suse-12.2-x86_64-rtems4.11.cfg \
+	etc/mock/suse-12.2-x86_64-rtems-infra.cfg
 pkgcfgdir = $(sysconfdir)/@PACKAGE@
 pkgcfg_DATA = 
 pkglocalstatedir = $(localstatedir)/lib/@PACKAGE@
@@ -1729,6 +1732,12 @@ etc/mock/suse-12.2-x86_64-rtems4.11.cfg: etc/mock/suse-12.2-x86_64-rtems4.11.cfg
 	  -e 's,[@]buildgroupsdir[@],file://$(mockdatadir)/buildgroups,' \
 	< $(srcdir)/etc/mock/suse-12.2-x86_64-rtems4.11.cfg.in \
 	> etc/mock/suse-12.2-x86_64-rtems4.11.cfg
+
+etc/mock/suse-12.2-x86_64-rtems-infra.cfg: etc/mock/suse-12.2-x86_64-rtems-infra.cfg.in etc/mock/$(dirstamp)
+	sed \
+	  -e 's,[@]buildgroupsdir[@],file://$(mockdatadir)/buildgroups,' \
+	< $(srcdir)/etc/mock/suse-12.2-x86_64-rtems-infra.cfg.in \
+	> etc/mock/suse-12.2-x86_64-rtems-infra.cfg
 $(srcdir)/buildgroups/makefile.am: am-buildgroups
 	$(srcdir)/am-buildgroups > $(srcdir)/buildgroups/makefile.am
 
diff --git a/rtems-mock/configure b/rtems-mock/configure
index c78f4d1..082ec0b 100755
--- a/rtems-mock/configure
+++ b/rtems-mock/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for rtems-mock 1.20120905.2.
+# Generated by GNU Autoconf 2.69 for rtems-mock 1.20120905.3.
 #
 # Report bugs to <ralf.corsepius at rtems.org>.
 #
@@ -579,8 +579,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='rtems-mock'
 PACKAGE_TARNAME='rtems-mock'
-PACKAGE_VERSION='1.20120905.2'
-PACKAGE_STRING='rtems-mock 1.20120905.2'
+PACKAGE_VERSION='1.20120905.3'
+PACKAGE_STRING='rtems-mock 1.20120905.3'
 PACKAGE_BUGREPORT='ralf.corsepius at rtems.org'
 PACKAGE_URL=''
 
@@ -1213,7 +1213,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures rtems-mock 1.20120905.2 to adapt to many kinds of systems.
+\`configure' configures rtems-mock 1.20120905.3 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1279,7 +1279,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of rtems-mock 1.20120905.2:";;
+     short | recursive ) echo "Configuration of rtems-mock 1.20120905.3:";;
    esac
   cat <<\_ACEOF
 
@@ -1357,7 +1357,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-rtems-mock configure 1.20120905.2
+rtems-mock configure 1.20120905.3
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1374,7 +1374,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by rtems-mock $as_me 1.20120905.2, which was
+It was created by rtems-mock $as_me 1.20120905.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2189,7 +2189,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='rtems-mock'
- VERSION='1.20120905.2'
+ VERSION='1.20120905.3'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3232,7 +3232,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by rtems-mock $as_me 1.20120905.2, which was
+This file was extended by rtems-mock $as_me 1.20120905.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -3285,7 +3285,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-rtems-mock config.status 1.20120905.2
+rtems-mock config.status 1.20120905.3
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff --git a/rtems-mock/configure.ac b/rtems-mock/configure.ac
index 62bba27..8ffc37a 100644
--- a/rtems-mock/configure.ac
+++ b/rtems-mock/configure.ac
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.68)
-AC_INIT([rtems-mock],[1.20120905.2],[ralf.corsepius at rtems.org],[rtems-mock])
+AC_INIT([rtems-mock],[1.20120905.3],[ralf.corsepius at rtems.org],[rtems-mock])
 AM_INIT_AUTOMAKE([no-dist-gzip dist-xz tar-pax 1.11.3 foreign])
 AM_MAINTAINER_MODE
 
diff --git a/rtems-mock/etc/mock/makefile.am b/rtems-mock/etc/mock/makefile.am
index bc84800..ba0da24 100644
--- a/rtems-mock/etc/mock/makefile.am
+++ b/rtems-mock/etc/mock/makefile.am
@@ -587,3 +587,13 @@ etc/mock/suse-12.2-x86_64-rtems4.11.cfg: etc/mock/suse-12.2-x86_64-rtems4.11.cfg
 EXTRA_DIST += etc/mock/suse-12.2-x86_64-rtems4.11.cfg.in
 CLEANFILES += etc/mock/suse-12.2-x86_64-rtems4.11.cfg
 
+mockcfg_DATA += etc/mock/suse-12.2-x86_64-rtems-infra.cfg
+
+etc/mock/suse-12.2-x86_64-rtems-infra.cfg: etc/mock/suse-12.2-x86_64-rtems-infra.cfg.in etc/mock/$(dirstamp)
+	sed \
+	  -e 's,[@]buildgroupsdir[@],file://$(mockdatadir)/buildgroups,' \
+	< $(srcdir)/etc/mock/suse-12.2-x86_64-rtems-infra.cfg.in \
+	> etc/mock/suse-12.2-x86_64-rtems-infra.cfg
+EXTRA_DIST += etc/mock/suse-12.2-x86_64-rtems-infra.cfg.in
+CLEANFILES += etc/mock/suse-12.2-x86_64-rtems-infra.cfg
+
diff --git a/rtems-mock/etc/mock/suse-12.2-x86_64-rtems-infra.cfg.in b/rtems-mock/etc/mock/suse-12.2-x86_64-rtems-infra.cfg.in
new file mode 100644
index 0000000..553e69f
--- /dev/null
+++ b/rtems-mock/etc/mock/suse-12.2-x86_64-rtems-infra.cfg.in
@@ -0,0 +1,45 @@
+config_opts['root'] = 'suse-12.2-x86_64-rtems'
+config_opts['runuser'] = '/bin/su'
+config_opts['target_arch'] = 'x86_64'
+config_opts['macros']['%vendor'] = 'RTEMS Project http://www.rtems.org'
+config_opts['macros']['%_with_noarch_subpackages'] = '1'
+
+# Override, suse's useradd doesn't have -n
+config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s -d %(home)s %(user)s'
+config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
+
+config_opts['yum.conf'] = """
+[main]
+cachedir=/var/cache/yum
+debuglevel=1
+reposdir=/dev/null
+logfile=/var/log/yum.log
+retries=20
+obsoletes=1
+gpgcheck=0
+assumeyes=1
+exclude=*.i?86
+
+# repos
+
+[base]
+name=SuSE-12.2 - Base
+baseurl=http://download.opensuse.org/distribution/12.2/repo/oss/suse/
+gpgcheck=0
+# gpgkey=http://download.opensuse.org/distribution/12.2/repo/oss/pubring.gpg
+
+[update]
+name=SuSE-12.2 - Update
+baseurl=http://download.opensuse.org/update/12.2/
+gpgcheck=0
+# gpgkey=http://download.opensuse.org/distribution/12.2/repo/oss/pubring.gpg
+
+[rtems-infra]
+name=infrastructure
+baseurl=ftp://ftp.rtems.org/pub/rtems/linux/infrastructure/suse/12.2/x86_64/
+
+[groups]
+name=groups
+baseurl=@buildgroupsdir@/suse/12.2/x86_64/
+
+"""




More information about the vc mailing list