summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRajiv M Ranganath <rajiv.ranganath@nokia.com>2011-11-23 11:49:34 -0800
committerRajiv M Ranganath <rajiv.ranganath@nokia.com>2011-11-23 11:49:34 -0800
commit6fd4c062001106f5a4266ae236d6442098cb1fe2 (patch)
treeaad421354ead124c5b0c641ea7445136c9238535
parent4a619abf7dc823ee978f95dea04a43a7b9cc9e6e (diff)
Added rpm macros and zypper configuration files
-rw-r--r--home/.rpm/armv5tel-gnueabi/Toolchain-cross.cmake17
-rw-r--r--home/.rpm/armv5tel-gnueabi/macros236
-rw-r--r--home/.rpmmacros16
-rw-r--r--sysroot/armv5tel/etc/zypp/repos.d/f13.repo8
-rw-r--r--sysroot/armv5tel/etc/zypp/repos.d/f14-src.repo24
-rw-r--r--sysroot/armv5tel/etc/zypp/repos.d/f14.repo8
-rw-r--r--sysroot/armv5tel/etc/zypp/repos.d/nrcc-gumbo.repo19
-rw-r--r--sysroot/armv5tel/etc/zypp/repos.d/nrcc-platform.repo21
-rw-r--r--sysroot/armv5tel/etc/zypp/repos.d/nrcc-shared.repo19
-rw-r--r--sysroot/armv5tel/etc/zypp/repos.d/nrcc-sysroot.repo19
-rw-r--r--sysroot/armv5tel/etc/zypp/systemCheck13
-rw-r--r--sysroot/armv5tel/etc/zypp/zypp.conf478
-rw-r--r--sysroot/armv5tel/etc/zypp/zypper.conf162
13 files changed, 1040 insertions, 0 deletions
diff --git a/home/.rpm/armv5tel-gnueabi/Toolchain-cross.cmake b/home/.rpm/armv5tel-gnueabi/Toolchain-cross.cmake
new file mode 100644
index 0000000..461024d
--- /dev/null
+++ b/home/.rpm/armv5tel-gnueabi/Toolchain-cross.cmake
@@ -0,0 +1,17 @@
+INCLUDE(CMakeForceCompiler)
+
+# this one is important
+SET(CMAKE_SYSTEM_NAME Linux)
+
+# specify the cross compiler
+CMAKE_FORCE_C_COMPILER(${CROSS_COMPILE}gcc GNU)
+CMAKE_FORCE_CXX_COMPILER(${CROSS_COMPILE}g++ GNU)
+
+# where is the target environment
+SET(CMAKE_FIND_ROOT_PATH ${SYSROOT})
+
+# search for programs in the build host directories
+SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+# for libraries and headers in the target directories
+SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) \ No newline at end of file
diff --git a/home/.rpm/armv5tel-gnueabi/macros b/home/.rpm/armv5tel-gnueabi/macros
new file mode 100644
index 0000000..7b9cf5b
--- /dev/null
+++ b/home/.rpm/armv5tel-gnueabi/macros
@@ -0,0 +1,236 @@
+# Custom RPM macros configuration file for building RPM packages
+# as a non-root user.
+#
+# Author: Mike A. Harris
+# Modified by: George France && Col. Pickering
+#
+# This is a copy of my own personal RPM configuration which I use
+# on my workstation for building and testing packages for Red Hat Linux.
+# There are many different possibilities on how to configure RPM, so
+# feel free to tweak however you desire. Make sure to create any
+# directories that are referenced prior to using. RPM will automatically
+# create some of them if missing, but not all of them. Which ones it
+# auto-creates is only known by the extraterrestrial aliens that have
+# created RPM.
+#
+# For ANY help with anything related to RPM development, packaging,
+# or customization, please join the Red Hat RPM mailing list by sending
+# an email message to: rpm-list-request@redhat.com with the word
+# "subscribe" in the Subject: line.
+#
+# Any suggestions/comments/ for improvements to this setup appreciated.
+
+
+# %_tmppath is where temporary scripts are placed during the RPM build
+# process as well as the %_buildroot where %install normally dumps files
+# prior to packaging up the final binary RPM's.
+%_tmppath %{_topdir}/tmp
+
+# %_builddir is where source code tarballs are decompressed, and patches then
+# applied when building an RPM package
+%_builddir %{_topdir}/BUILD
+
+# %_buildroot is where files get placed during the %install section of spec
+# file processing prior to final packaging into rpms. This is oddly named
+# and probably should have been called "%_installroot" back when it was
+# initially added to RPM. Alas, it was not. ;o)
+#%_buildroot %{_topdir}/BUILDROOT/%{name}-%{version}-root
+%_buildroot %{_topdir}/INSTALLROOT
+
+# %_rpmdir is where binary RPM packages are put after being built.
+%_rpmdir %{_topdir}/RPMS
+
+# %_srcrpmdir is where src.rpm packages are put after being built.
+%_srcrpmdir %{_topdir}/SRPMS
+
+# %_rpmfilename defines the naming convention of the produced RPM packages,
+# and should not be modified. It is listed here because I am overriding
+# RPM's default behaviour of dropping binary RPM's each in their own
+# separate subdirectories. I hate that. Grrr.
+%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
+
+# Customized tags for local builds
+# %packager is the info that will appear in the "Packager:" field in the
+# RPM header on built packages. By default I have it read your username
+# and hostname. This should be customized appropriately.
+# %packager Joe Blow
+# %vendor Which
+# %distribution Why
+
+# GNU GPG config below
+#%_signature gpg
+#%_gpg_name Joe Blow
+#%_gpg_path %(echo $HOME)/.gnupg
+
+
+#### stolen from mock-cross
+%optflags -O2 -g -march=armv5te -Wl,-Bsymbolic-functions -Wl,--build-id
+
+
+
+### random web suggestion
+%_host armv5tel-redhat-linux-gnueabi
+%_build i686-pc-linux-gnu
+
+
+%_initddir %{_sysconfdir}/rc.d/init.d
+
+
+####
+
+######### more puled from mock-cross
+#==============================================================================
+# Update config.sub files found in build sources.
+#
+%_update_config \
+ for i in $(find . -name config.guess -o -name config.sub) ; do \
+ [ -f /etc/mock-cross/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /etc/mock-cross/$(basename $i) $i ; \
+ done
+
+
+#==============================================================================
+# Override cmake with one which sets up a crossbuild.
+%cmake \
+ CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
+ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
+ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
+ PKG_CONFIG_PATH=%{_sysroot}/usr/lib/pkgconfig \
+ %__cmake \\\
+ -DCMAKE_VERBOSE_MAKEFILE=ON \\\
+ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
+ -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \\\
+ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
+ -DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
+ -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
+ -DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
+ -DCMAKE_TOOLCHAIN_FILE="~/.rpm/${ARCH}-gnueabi/Toolchain-cross.cmake" \\\
+ -DBUILD_SHARED_LIBS:BOOL=ON
+
+
+
+#==============================================================================
+# Override configure with one which sets up a crossbuild.
+#
+%_sysroot $SYSROOT
+
+
+%configure \
+ [ -f /etc/mock-cross/ac_defines ] && . /etc/mock-cross/ac_defines ; \
+ [ -f /etc/mock-cross/arch/ac_defines.%{_arch} ] && . /etc/mock-cross/arch/ac_defines.%{_arch} ; \
+ export PKG_CONFIG_LIBDIR=%{_sysroot}%{_libdir}/pkgconfig:%{_sysroot}%{_datadir}/pkgconfig; \
+ SYSROOT="%{_sysroot}"; export SYSROOT; \
+ AR="${AR:-%{__ar}}"; export AR; \
+ AS="${AS:-%{__as}}"; export AS; \
+ CC="${CC:-%{__cc}}"; export CC; \
+ BUILD_CC=gcc; export BUILD_CC; \
+ CC_FOR_BUILD=gcc; export CC_FOR_BUILD; \
+ CFLAGS_FOR_BUILD="${CFLAGS_FOR_BUILD:-%optflags_for_build}" ; export CFLAGS_FOR_BUILD ; \
+ LDFLAGS_FOR_BUILD="${LDFLAGS_FOR_BUILD:-%optflags_for_build}" ; export LDFLAGS_FOR_BUILD ; \
+ CXXFLAGS_FOR_BUILD="${CXXFLAGS_FOR_BUILD:-%optflags_for_build}" ; export CXXFLAGS_BUILD ; \
+ CXX="${CXX:-%{__cxx}}"; export CXX; \
+ LD="${LD:-%{__ld}}"; export LD; \
+ NM="${NM:-%{__nm}}"; export NM; \
+ OBJCOPY="${OBJCOPY:-%{__objcopy}}"; export OBJCOPY; \
+ OBJDUMP="${OBJDUMP:-%{__objdump}}"; export OBJDUMP; \
+ RANLIB="${RANLIB:-%{__ranlib}}"; export RANLIB; \
+ STRIP="${STRIP:-%{__strip}}"; export STRIP; \
+ CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
+ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
+ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
+ %_update_config ; \
+ ./configure --target=%{_target_platform} \\\
+ --host=%{_target_platform} \\\
+ --build=%{_build_platform} \\\
+ --program-prefix=%{?_program_prefix} \\\
+ --prefix=%{_prefix} \\\
+ --exec-prefix=%{_exec_prefix} \\\
+ --bindir=%{_bindir} \\\
+ --sbindir=%{_sbindir} \\\
+ --sysconfdir=%{_sysconfdir} \\\
+ --datadir=%{_datadir} \\\
+ --includedir=%{_includedir} \\\
+ --libdir=%{_libdir} \\\
+ --libexecdir=%{_libexecdir} \\\
+ --localstatedir=%{_localstatedir} \\\
+ --sharedstatedir=%{_sharedstatedir} \\\
+ --mandir=%{_mandir} \\\
+ --infodir=%{_infodir}
+
+
+#==============================================================================
+# Add configure_for_build to configure/build binaries for the build host.
+#
+%configure_for_build \
+ CFLAGS="${CFLAGS_FOR_BUILD:-%optflags_for_build}" ; export CFLAGS ; \
+ CXXFLAGS="${CXXFLAGS_FOR_BUILD:-%optflags_for_build}" ; export CXXFLAGS ; \
+ FFLAGS="${FFLAGS:-%optflags_for_build -I%_fmoddir}" ; export FFLAGS ; \
+ ./configure \\\
+ --target=%{_build_platform} \\\
+ --build=%{_build_platform} \\\
+ --host=%{_build_platform} \\\
+ --program-prefix=%{?_program_prefix} \\\
+ --prefix=%{_prefix} \\\
+ --exec-prefix=%{_exec_prefix} \\\
+ --bindir=%{_bindir} \\\
+ --sbindir=%{_sbindir} \\\
+ --sysconfdir=%{_sysconfdir} \\\
+ --datadir=%{_datadir} \\\
+ --includedir=%{_includedir} \\\
+ --libdir=%{_libdir} \\\
+ --libexecdir=%{_libexecdir} \\\
+ --localstatedir=%{_localstatedir} \\\
+ --sharedstatedir=%{_sharedstatedir} \\\
+ --mandir=%{_mandir} \\\
+ --infodir=%{_infodir}
+
+
+%_build_platform i686-pc-linux-gnu
+%_target_platform arm-linux-gnueabi
+%_host_platform arm-linux-gnueabi
+
+
+# define something so we know if we are cross even for noarch builds
+%_crossbuild 1
+
+
+#==============================================================================
+# Make specfile %check a no-op when cross-building
+#
+
+%__spec_check_cmd /bin/true
+#%__check_files /bin/true
+
+# bavery different from mock
+%_tool_triplet arm-none-linux-gnueabi
+#==============================================================================
+# Add in tool prefix
+#
+%__ar %{_tool_triplet}-ar
+%__as %{_tool_triplet}-as
+%__cc %{_tool_triplet}-gcc
+%__cpp %{_tool_triplet}-cpp
+%__cxx %{_tool_triplet}-g++
+%__ld %{_tool_triplet}-ld
+%__nm %{_tool_triplet}-nm
+%__objcopy %{_tool_triplet}-objcopy
+%__objdump %{_tool_triplet}-objdump
+%__ranlib %{_tool_triplet}-ranlib
+%__strip %{_tool_triplet}-strip
+
+
+#==============================================================================
+
+
+
+
+#=========================================
+# sometimes we leave things hanging around....
+%_unpackaged_files_terminate_build 0
+
+
+# pkg_config helps now that we have the fixer script.
+PKG_CONFIG_PATH="%{_sysroot}/usr/lib/pkgconfig"
+export PKG_CONFIG_PATH
+
+
+%_IN_PLATFORM_MACRO 1 \ No newline at end of file
diff --git a/home/.rpmmacros b/home/.rpmmacros
new file mode 100644
index 0000000..db76c4c
--- /dev/null
+++ b/home/.rpmmacros
@@ -0,0 +1,16 @@
+# By default, ROOT of the buildsystem
+%_topdir %(echo $HOME)/rpmbuild%(echo $PP_ARCH)
+%_sourcedir %{_topdir}/SOURCES/%{name}-%{version}
+%_specdir %{_sourcedir}
+
+# to help with check-buildroot, uncomment if needed
+# currently needed to build the cross gcc. probably should
+# debug this at some point.
+#%_unpackaged_files_terminate_build 0
+#%__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
+
+
+# uncomment/fix these for the rpmbumpspec/rpmdevtools to work
+#%packager Colonel Pickering
+#%vendor MyFairLady
+#%distribution TheDance
diff --git a/sysroot/armv5tel/etc/zypp/repos.d/f13.repo b/sysroot/armv5tel/etc/zypp/repos.d/f13.repo
new file mode 100644
index 0000000..5ca8a1c
--- /dev/null
+++ b/sysroot/armv5tel/etc/zypp/repos.d/f13.repo
@@ -0,0 +1,8 @@
+[f13-arm]
+name=ARM RPM Repository for Fedora13
+enabled=1
+autorefresh=0
+baseurl=http://mt-fedora.nrcc.noklab.com/fedora-secondary/releases/13/Everything/arm/os
+type=rpm-md
+gpgcheck=0
+keeppackages=0
diff --git a/sysroot/armv5tel/etc/zypp/repos.d/f14-src.repo b/sysroot/armv5tel/etc/zypp/repos.d/f14-src.repo
new file mode 100644
index 0000000..b085ee3
--- /dev/null
+++ b/sysroot/armv5tel/etc/zypp/repos.d/f14-src.repo
@@ -0,0 +1,24 @@
+[f14-src]
+name=SRC RPM Repository for Fedora14
+enabled=1
+failovermethod=priority
+autorefresh=0
+# the mirror server was sometimes giving out broken mirrors.
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
+# mirrors.kernel.org was compromised and is down
+#baseurl=http://mirrors.kernel.org/fedora/releases/14/Everything/source/SRPMS/
+#baseurl=http://arm.koji.fedoraproject.org/mash/beta/f13-arm-2011-05-10/f13-arm/arm/os/
+type=rpm-md
+gpgcheck=0
+keeppackages=0
+
+[f14-updates-src]
+name=Fedora $releasever - Updates Source
+failovermethod=priority
+enabled=0
+autorefresh=0
+#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
+enabled=0
+gpgcheck=0
+
diff --git a/sysroot/armv5tel/etc/zypp/repos.d/f14.repo b/sysroot/armv5tel/etc/zypp/repos.d/f14.repo
new file mode 100644
index 0000000..ed3b7eb
--- /dev/null
+++ b/sysroot/armv5tel/etc/zypp/repos.d/f14.repo
@@ -0,0 +1,8 @@
+[f14-arm]
+name=ARM RPM Repository for Fedora14
+enabled=1
+autorefresh=0
+baseurl=http://mt-fedora.nrcc.noklab.com/repos/f14-mirror/armv5tel
+type=rpm-md
+gpgcheck=0
+keeppackages=0
diff --git a/sysroot/armv5tel/etc/zypp/repos.d/nrcc-gumbo.repo b/sysroot/armv5tel/etc/zypp/repos.d/nrcc-gumbo.repo
new file mode 100644
index 0000000..3feadd9
--- /dev/null
+++ b/sysroot/armv5tel/etc/zypp/repos.d/nrcc-gumbo.repo
@@ -0,0 +1,19 @@
+[nrcc-gumbo]
+name=NRCC GUMBO ARM RPM Repository for Fedora
+# enable this if we need to add something in here
+enabled=1
+autorefresh=0
+baseurl=http://mt-fedora.nrcc.noklab.com/repos/f14-gumbo/armv5tel
+type=rpm-md
+gpgcheck=0
+keeppackages=0
+
+[nrcc-srpm-gumbo]
+name=NRCC GUMBO ARM SRPM Repository for Fedora
+# enable this if we need to add something in here
+enabled=1
+autorefresh=0
+baseurl=http://mt-fedora.nrcc.noklab.com/repos/f14-gumbo/SRPMS
+type=rpm-md
+gpgcheck=0
+keeppackages=0
diff --git a/sysroot/armv5tel/etc/zypp/repos.d/nrcc-platform.repo b/sysroot/armv5tel/etc/zypp/repos.d/nrcc-platform.repo
new file mode 100644
index 0000000..7f8808c
--- /dev/null
+++ b/sysroot/armv5tel/etc/zypp/repos.d/nrcc-platform.repo
@@ -0,0 +1,21 @@
+[nrcc-platform]
+name=NRCC PLATFORM ARM RPM Repository for Fedora
+# enable if you want to pull a platform rpm into your sysroot
+# generally a bad idea.
+enabled=0
+autorefresh=0
+baseurl=http://mt-fedora.nrcc.noklab.com/repos/f14-platform/armv5tel
+type=rpm-md
+gpgcheck=0
+keeppackages=0
+
+[nrcc-srpm-platform]
+name=NRCC PLATFORM ARM SRPM Repository for Fedora
+# enable this if we want to work on the SRPMS for
+# the platform
+enabled=0
+autorefresh=0
+baseurl=http://mt-fedora.nrcc.noklab.com/repos/f14-platform/SRPMS
+type=rpm-md
+gpgcheck=0
+keeppackages=0
diff --git a/sysroot/armv5tel/etc/zypp/repos.d/nrcc-shared.repo b/sysroot/armv5tel/etc/zypp/repos.d/nrcc-shared.repo
new file mode 100644
index 0000000..45a9c62
--- /dev/null
+++ b/sysroot/armv5tel/etc/zypp/repos.d/nrcc-shared.repo
@@ -0,0 +1,19 @@
+[nrcc-shared]
+name=NRCC SHARED ARM RPM Repository for Fedora
+# enable this if we need to add something in here
+enabled=1
+autorefresh=0
+baseurl=http://mt-fedora.nrcc.noklab.com/repos/f14-shared/armv5tel
+type=rpm-md
+gpgcheck=0
+keeppackages=0
+
+[nrcc-srpm-shared]
+name=NRCC SHARED ARM SRPM Repository for Fedora
+# enable this if we need to add something in here
+enabled=1
+autorefresh=0
+baseurl=http://mt-fedora.nrcc.noklab.com/repos/f14-shared/SRPMS
+type=rpm-md
+gpgcheck=0
+keeppackages=0
diff --git a/sysroot/armv5tel/etc/zypp/repos.d/nrcc-sysroot.repo b/sysroot/armv5tel/etc/zypp/repos.d/nrcc-sysroot.repo
new file mode 100644
index 0000000..b0d9890
--- /dev/null
+++ b/sysroot/armv5tel/etc/zypp/repos.d/nrcc-sysroot.repo
@@ -0,0 +1,19 @@
+[nrcc-sysroot]
+name=NRCC SYSROOT ARM RPM Repository for Fedora
+# enable this if we need to add something in here
+enabled=1
+autorefresh=0
+baseurl=http://mt-fedora.nrcc.noklab.com/repos/f14-sysroot/armv5tel
+type=rpm-md
+gpgcheck=0
+keeppackages=0
+
+[nrcc-srpm-sysroot]
+name=NRCC SYSROOT ARM SRPM Repository for Fedora
+# enable this if we need to add something in here
+enabled=1
+autorefresh=0
+baseurl=http://mt-fedora.nrcc.noklab.com/repos/f14-sysroot/SRPMS
+type=rpm-md
+gpgcheck=0
+keeppackages=0
diff --git a/sysroot/armv5tel/etc/zypp/systemCheck b/sysroot/armv5tel/etc/zypp/systemCheck
new file mode 100644
index 0000000..4cb60e2
--- /dev/null
+++ b/sysroot/armv5tel/etc/zypp/systemCheck
@@ -0,0 +1,13 @@
+##
+## This file contains requirements/conflicts which fulfill the
+## needs of a running system.
+## For example the system would be broken if not glibc or kernel is
+## installed.
+## So the user will be informed if these packages will be deleted.
+##
+## format: Each line represents one dependency:
+## e.g.
+## requires:kernel
+## requires:glibc
+
+requires:glibc
diff --git a/sysroot/armv5tel/etc/zypp/zypp.conf b/sysroot/armv5tel/etc/zypp/zypp.conf
new file mode 100644
index 0000000..4fdbea9
--- /dev/null
+++ b/sysroot/armv5tel/etc/zypp/zypp.conf
@@ -0,0 +1,478 @@
+## Configuration file for software management
+## /etc/zypp/zypp.conf
+##
+## Boolean values are 0 1 yes no on off true false
+
+
+[main]
+
+
+##
+## Override the detected architecture
+##
+## Valid values: i586, i686, x86_64, ppc, ppc64, ia64, s390, s390x, ..
+## Default value: Autodetected
+##
+## ** CAUTION: Only set if you know what you're doing !
+## ** Changing this needs a full refresh (incl. download)
+## ** of all repository data.
+##
+arch = armv5tel
+
+
+##
+## Path where the caches are kept.
+##
+## Valid values: A directory
+## Default value: /var/cache/zypp
+##
+# cachedir = /var/cache/zypp
+
+
+##
+## Path where the repo metadata is downloaded and kept.
+##
+## Valid values: A directory
+## Default value: {cachedir}/raw
+##
+## Changing this needs a full refresh (incl. download) of all repository data
+##
+# metadatadir = /var/cache/zypp/raw
+
+
+##
+## Path where the repo solv files are created and kept.
+##
+## Valid values: A directory
+## Default value: {cachedir}/solv
+##
+# solvfilesdir = /var/cache/zypp/solv
+
+
+##
+## Path where the repo packages are downloaded and kept.
+##
+## Valid values: A directory
+## Default value: {cachedir}/packages
+##
+# packagesdir = /var/cache/zypp/packages
+
+
+##
+## Path where the configuration files are kept.
+##
+## Valid values: A directory
+## Default value: /etc/zypp
+##
+# configdir = /etc/zypp
+
+##
+## Path where the known repositories .repo files are kept
+##
+## Valid values: A directory
+## Default value: {configdir}/repos.d
+##
+## Changing this invalidates all known repositories
+##
+# reposdir = /etc/zypp/repos.d
+
+##
+## Path where the known services .service files are kept
+##
+## Valid values: A directory
+## Default value: {configdir}/services.d
+##
+## Changing this invalidates all known services
+##
+# servicesdir = /etc/zypp/services.d
+
+
+##
+## Whether repository urls should be probed when added
+##
+## Valid values: boolean
+## Default value: false
+##
+## If true, accessability of repositories is checked immediately (when added)
+## (e.g. 'zypper ar' will check immediately)
+## If false, accessability of repositories is checked when refreshed
+## (e.g. 'zypper ar' will delay the check until the next refresh)
+##
+# repo.add.probe = false
+
+
+##
+## Amount of time in minutes that must pass before another refresh.
+##
+## Valid values: Integer
+## Default value: 10
+##
+## If you have autorefresh enabled for a repository, it is checked for
+## up-to-date metadata not more often than every <repo.refresh.delay>
+## minutes. If an automatic request for refresh comes before <repo.refresh.delay>
+## minutes passed since the last check, the request is ignored.
+##
+## A value of 0 means the repository will always be checked. To get the oposite
+## effect, disable autorefresh for your repositories.
+##
+## This option has no effect for repositories with autorefresh disabled, nor for
+## user-requested refresh.
+##
+# repo.refresh.delay = 10
+
+##
+## Maximum number of concurrent connections to use per transfer
+## This setting is only used if more than one is possible
+## Setting it to a reasonable number avoids flooding servers
+##
+# download.max_concurrent_connections = 2
+
+##
+## Sets the minimum download speed (bytes per second)
+## until the connection is dropped
+## This can be useful to prevent security attacks on hosts by
+## providing updates at very low speeds.
+##
+## 0 means no limit
+##
+# download.min_download_speed = 0
+
+## Maximum download speed (bytes per second)
+## 0 means no limit
+# download.max_download_speed = 0
+
+## Number of tries per download which will be
+## done without user interaction
+## 0 means no limit (use with caution)
+# download.max_silent_tries = 5
+
+##
+## Whether to consider using a .delta.rpm when downloading a package
+##
+## Valid values: boolean
+## Default value: true
+##
+## Using a delta rpm will decrease the download size for package updates
+## since it does not contain all files of the package but only the binary
+## diff of changed ones. Recreating the rpm package on the local machine
+## is an expensive operation (memory,CPU). If your network connection is
+## not too slow, you benefit from disabling .delta.rpm.
+##
+# download.use_deltarpm = true
+
+##
+## Whether to consider using a deltarpm even when rpm is local
+##
+## Valid values: boolean
+## Default value: false
+##
+## This option has no effect unless download.use_deltarpm is set true.
+##
+# download.use_deltarpm.always = false
+
+##
+## Hint which media to prefer when installing packages (download vs. CD).
+##
+## Valid values: download, volatile
+## Default value: download
+##
+## Note that this just a hint. First of all the solver will choose the 'best'
+## package according to its repos priority, version and architecture. But if
+## there is a choice, we will prefer packages from the desired media.
+##
+## Packages available locally are always preferred. The question is whether
+## you prefer packages being downloaded via FTP/HTTP/HTTPS (download), rather
+## than being prompted to insert a CD/DVD (volatile), in case they are available
+## on both media.
+##
+## Name | Priority | URI
+## openSUSE-11.1 99 dvd:///
+## openSUSE-11.1-Oss 99 http://download.opensuse.org/distribution/11.1/repo/oss
+##
+## In the above example 2 repositories with similar content are used. Rather
+## than raising the priority of one of them to 'prefer' a certain media, you
+## should use the same priority for both and set download.media_preference
+## instead.
+##
+## download.media_preference = download
+
+##
+## Commit download policy to use as default.
+##
+## DownloadOnly, Just download all packages to the local cache.
+## Do not install. Implies a dry-run.
+##
+## DownloadInAdvance, First download all packages to the local cache.
+## Then start to install.
+##
+## DownloadInHeaps, Similar to DownloadInAdvance, but try to split
+## the transaction into heaps, where at the end of
+## each heap a consistent system state is reached.
+##
+## DownloadAsNeeded Alternating download and install. Packages are
+## cached just to avid CD/DVD hopping. This is the
+## traditional behaviour.
+##
+## <UNSET> If a value is not set, empty or unknown, we pick
+## some sane default.
+##
+## commit.downloadMode =
+commit.downloadMode = DownloadInAdvance
+
+##
+## Defining directory which contains vendor description files.
+##
+## One file in this directory reflects a group of equivalent vendors. e.G.:
+## (filename is "nvidia" but could be any other name):
+## ------------------------- file contains begin -----------------------
+## [main]
+##
+## vendors = nvidia,suse,opensuse
+##
+## ------------------------- file contains end -----------------------
+## Libzypp makes an string comparision (like strncmp, case-insensitive)
+## whereas the beginning of the strings are compared only.
+## e.G. vendor "opensuse11.0" is compatible to "openSuSE".
+##
+## Valid values: A directory
+## Default value: {configdir}/vendors.d
+##
+# vendordir = /etc/zypp/vendors.d
+
+
+##
+## Whether required packages are installed ONLY
+## So recommended packages, language packages and packages which depend
+## on hardware (modalias) will not be regarded.
+##
+## Valid values: boolean
+## Default value: false
+##
+# solver.onlyRequires = false
+
+##
+## EXPERTS ONLY: Per default the solver will not replace packages of
+## different vendors, unless you explicitly ask to do so. Setting this
+## option to TRUE will disable this vendor check (unless the application
+## explicitly re-enables it). Packages will then be considered based on
+## repository priority and version only. This may easily damage your system.
+##
+## CHANGING THE DEFAULT IS NOT RECOMMENDED.
+##
+## Valid values: boolean
+## Default value: false
+##
+# solver.allowVendorChange = false
+
+##
+## EXPERTS ONLY: Cleanup when deleting packages. Whether the solver should
+## per default try to remove packages exclusively required by the ones he's
+## asked to delete.
+##
+## This option should be used on a case by case basis, enabled via
+## command line options or switches the applications offer. Changing
+## the global default on a system where unattended actions are performed,
+## may easily damage your system.
+##
+## CHANGING THE DEFAULT IS NOT RECOMMENDED.
+##
+## Valid values: boolean
+## Default value: false
+##
+# solver.cleandepsOnRemove = false
+
+##
+## This file contains requirements/conflicts which fulfill the
+## needs of a running system.
+## For example the system would be broken if not glibc or kernel is
+## installed.
+## So the user will be informed if these packages will be deleted.
+##
+## Format: Each line represents one dependency:
+## e.g.
+## requires:kernel
+## requires:glibc
+## Default value: {configdir}/systemCheck
+##
+# solver.checkSystemFile = /etc/zypp/systemCheck
+
+##
+## When committing a dist upgrade (e.g. 'zypper dup') a solver testcase
+## is written to /var/log/updateTestcase-<date>. It is needed in bugreports.
+## This optin returns the number of testcases to keep on the system. Old
+## cases will be deleted, as new ones are created.
+##
+## Use 0 to write no testcase at all, or -1 to keep all testcases.
+##
+## Valid values: Integer
+## Default value: 2
+##
+# solver.upgradeTestcasesToKeep = 2
+
+##
+## Whether dist upgrade should remove a products dropped packages.
+##
+## A new product may suggest a list of old and no longer supported
+## packages (dropped packages). Performing a dist upgrade the solver
+## may try to delete them, even if they do not cause any dependency
+## problem.
+##
+## Turning this option off, the solver will not try to remove those
+## packages unless they actually do cause dependency trouble. You may
+## do the cleanup manually, or simply leave them installed as long
+## as you don't need the disk space.
+##
+## Valid values: Boolean
+## Default value: true
+##
+# solver.upgradeRemoveDroppedPackages = true
+
+##
+## Packages which can be installed in different versions at the same time.
+##
+## Packages are selected either by name, or by provides. In the later case
+## the string must start with "provides:" immediately followed by the capability.
+##
+## Example:
+## kernel - just packages whith name 'kernel'
+## provides:multiversion(kernel) - all packages providing 'multiversion(kernel)'
+## (kenel and kmp packages should do this)
+## Valid values:
+## Comma separated list of packages.
+##
+## Default value:
+## empty
+##
+# multiversion = provides:multiversion(kernel)
+multiversion = kernel-ivi,kernel-netbook,kernel-menlow,kernel-mrst
+
+##
+## Path to locks file. If not exist then is create.
+## In this file is saved also UI locks.
+##
+## valid value: path to file or place where file can be created
+## default value: {configdir}/locks
+##
+# locksfile.path = /etc/zypp/locks
+
+##
+## Whetever to apply locks in locks file after zypp start.
+##
+## Valid values: boolean
+## Default value: true
+##
+# locksfile.apply = true
+
+##
+## Where update items are stored
+## (example: scripts, messages)
+##
+## Valid values: path to directory
+## Default value: /var/adm
+##
+# update.datadir = /var/adm
+
+##
+## Where update messages are stored
+##
+## Valid values: path to directory
+## Default value: {update.datadir}/update-messages
+##
+# update.messagesdir = /var/adm/update-messages
+
+##
+## Where update scripts are stored
+##
+## Valid values: path to directory
+## Default value: {update.datadir}/update-scripts
+##
+# update.scriptsdir = /var/adm/update-scripts
+
+##
+## Command to be invoked to send update messages.
+##
+## Packages may leave an update message file in {update.messagesdir}.
+## At the end of each commit, zypp collects those messages and may send
+## a notification to the user.
+##
+## zypp will prepare the update messages according to the selected
+## content format and pipe the content to the command.
+##
+## Format:
+## single - For each update message invoke the command and send
+## the message.
+## none - For each update message invoke the command but don't
+## use a pipe to send any data. You probably want to pass
+## the message file on the commandline using %P (see
+## Substitutions).
+## digest - Single invocation of the command, sending the path
+## names of all update message. One per line.
+## bulk - Single invocation of the command, sending the
+## concatenated content of all update messages, separated
+## by Ctrl-L.
+##
+## Substitutions:
+## %p - package identification (name-version-release.arch)
+## %P - full path to the update message file
+##
+## Valid values: The value is specified as "format | command".
+## An empty value will turn off any notification.
+##
+## Examples: single | mail -s 'Update message from %p' root
+## none | my-send-script -f %P
+##
+## Default value: single | /usr/lib/zypp/notify-message -p %p
+##
+# update.messages.notify = single | /usr/lib/zypp/notify-message -p %p
+
+##
+## Options for package installation: excludedocs
+##
+## Don't install any files which are marked as documentation.
+##
+## Valid values: boolean
+## Default value: no
+##
+# rpm.install.excludedocs = no
+
+##
+## Location of history log file.
+##
+## The history log is described at
+## http://en.opensuse.org/Libzypp/Package_History
+##
+## Valid values: absolute path to a file
+## Default value: /var/log/zypp/history
+##
+# history.logfile = /var/log/zypp/history
+
+##
+## Global credentials directory path.
+##
+## If a URL contains ?credentials=<filename> parameter, the credentials will
+## be stored and looked for in a file named <filename> in this directory.
+##
+## Valid values: absolute path to a directory
+## Default value: /etc/zypp/credentials.d
+##
+# credentials.global.dir = /etc/zypp/credentials.d
+
+##
+## Global credentials catalog file path.
+##
+## This file contains a catalog of all known user credentials which were
+## not stored via the ?credentials=<filename> URL parameter, i.e. passed
+## in URL as username:password component, or entered by user in
+## an authentication dialog.
+##
+## Valid values: absolute path to a file
+## Default value: /etc/zypp/credentials.cat
+##
+# credentials.global.file = /etc/zypp/credentials.cat
+
+### we don't want to run the scripts when we install into the sysroot
+### so we turn on the noscript option here
+### we also don't need docs in the sysroot so same thing...
+### available options are in libzypp/zypp/target/rpm/RpmFlags.h
+rpm.install.noscripts = yes
+rpm.install.excludedocs = yes \ No newline at end of file
diff --git a/sysroot/armv5tel/etc/zypp/zypper.conf b/sysroot/armv5tel/etc/zypp/zypper.conf
new file mode 100644
index 0000000..802a1cf
--- /dev/null
+++ b/sysroot/armv5tel/etc/zypp/zypper.conf
@@ -0,0 +1,162 @@
+## Configuration file for Zypper.
+##
+## location: /etc/zypp/zypper.conf (system-wide)
+## or: $HOME/.zypper.conf (user-specific)
+##
+## You can edit this file by hand (try to keep the structure) or by using
+## 'zypper conf' command (TODO). If you need user-specific configuration
+## and you do not have ~/.zypper.conf yet, use /etc/zypp/zypper.conf
+## as template (copy it to ~/.zypper.conf) and adjust to your liking.
+##
+## The options known also to libzypp will be overriden by zypper.conf, if set.
+##
+## Boolean values are:
+## 0 1 yes no on off true false
+## Color values are:
+## white grey darkgrey black red green blue yellow brown cyan purple
+## lightred lightgreen lightblue lightcyan lightpurple
+
+[main]
+
+## Show repository alias instead of name.
+##
+## Alias is an alternative unique name of repository. Some users prefer
+## to define short, handy aliases for their repositories and use them
+## when specifying repositories instead of number, name, or URI.
+## These users might want to set this option to 'true'.
+##
+## Other users prefer to keep the aliases and names set by installation,
+## registration, YaST, or other software managers, or .repo files (most
+## software managers even hide the alias from user's view).
+## These users might want to see the descriptive names, thus leave this
+## option set to 'false'.
+##
+## Setting this option to 'true' will tell zypper to show repository
+## alias instead of the long name wherever it needs to tell the name of
+## the repository.
+##
+## Valid values: true, false
+## Default value: false
+##
+# showAlias = false
+
+[solver]
+
+## Do not install soft dependencies (recommended packages)
+##
+## Valid values: boolean
+## Default value: yes
+##
+# installRecommends = yes
+
+## Commands in which to force resolution.
+##
+## Comma-separated list of commands in which the resolution should be forced
+## when solving package dependencies. This means the solver
+## will automatically opt to remove problematic packages instead
+## of asking the user how to resolve the dependency problem.
+##
+## This is particularly useful in the 'remove' command, since one
+## typically wants to remove the requested package and all the packages
+## which depend on it, without being asked. But one may find it convenient
+## to force the resolution also in the 'install' command, or perhaps even
+## others.
+##
+## This setting can be overridden ad-hoc by the --force-resolution and
+## --no-force-resolution command line options.
+##
+## Valid values: remove, install, update, patch, verify
+## Default value: remove
+# forceResolutionCommands = remove
+
+
+[color]
+
+## Whether to use colors
+##
+## Valid values: always, never, or autodetect
+## Default value: never
+##
+# useColors = never
+
+## Do you use dark or light terminal background?
+##
+## Valid values: dark light
+## Default value: dark
+##
+# background = dark
+
+## Color for displaying results of operations.
+## This includes installation summary, tables, and result messages.
+##
+## Valid values: color
+## Default value: white
+##
+# result = white
+
+## Color for displaying status and progress messages.
+##
+## Valid values: color
+## Default value: grey
+##
+# msgStatus = grey
+
+## Color for displaying error messages.
+##
+## Valid values: color
+## Default value: red
+##
+# msgError = red
+
+## Color for displaying warnings.
+##
+## Valid values: color
+## Default value: yellow
+##
+# msgWarning = yellow
+
+## Color for highlighting positive information.
+## For example, 'done' result of progress indicator.
+## (not used yet)
+##
+## Default value: green
+##
+# positive = green
+
+## Color for highlighting negative information.
+## For example, 'error' result of progress indicator.
+## (not used yet)
+##
+## Valid values: color
+## Default value: red
+##
+# negative = red
+
+## Color for highlighting information for easier reading.
+## Unlike positive/negative color, this is intended for neutral information,
+## like highlighting table column by which the rows are sorted.
+##
+## Valid values: color
+## Default value: lightcyan
+##
+# highlight = lightcyan
+
+## Color for user dialog options.
+##
+## Valid values: color
+## Default value: grey
+##
+# promptOption = grey
+
+[obs]
+
+## openSUSE Build Service repository base URL.
+## This is used to construct real URL from obs://project/platform URI
+##
+# baseUrl = http://download.opensuse.org/repositories/
+
+## openSUSE Build Service repository target platform.
+## This will be used if none is given in the obs://obsrepo/platform URI
+## when adding new repository with 'addrepo' command.
+##
+# platform = openSUSE_11.3