diskimage-builder/diskimage_builder/elements/zypper-minimal
Dirk Mueller 1bdeaadc95 Fix opensuse-minimal element on non-SUSE hosts
zypper on non-suse hosts is not parsing the pattern repodata because
those are marked as an inofficial extension to the repomd specification.
This is not a big issue as there is meanwhile in newer openSUSE
distributions a pattern *package* that depends on the same packages like
the pattern would do, so we can just replace it with that.

Change-Id: I0c8f713075bd7e5bf1d425f81933b4666654add7
Depends-On: I34e98f0f7693859ed05011b008334628adff612f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-04-02 19:37:01 -04:00
..
install.d Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
root.d Fix opensuse-minimal element on non-SUSE hosts 2017-04-02 19:37:01 -04:00
element-deps Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
package-installs.yaml Release 1.24.0 2017-01-31 14:14:19 +11:00
README.rst Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00

==============
zypper-minimal
==============
Base element for creating minimal SUSE-based images

This element is incomplete by itself so you probably want to use it along
with the opensuse-minimal one. It requires 'zypper' to be installed on the
host.

Repositories
------------

This element expects the `ZYPPER_REPOS` variable to be exported by the
operating system element. This variable contains repository mappings in 
the following format: `${repo_name}==>${repo_url}`. For example::

 ZYPPER_REPOS="update=>http://download.opensuse.org/update/leap/42.1/oss/ "
 ZYPPER_REPOS+="oss=>http://download.opensuse.org/distribution/leap/42.1/repo/oss/"
 export ZYPPER_REPOS