diskimage-builder/elements/zypper-minimal
Markos Chandras 290925bd5e elements: zypper-minimal: Refresh repositories after adding the cache
The refresh operation must happen after the cache has been added in
order to ensure that whatever is in the cache is still relevant to
the current build and we are not using stale packages.

Change-Id: Iafd718e9738f85b8c235806c027665730f44d89b
2016-10-31 23:34:39 +00:00
..
install.d Add zypper-minimal element 2016-10-05 09:27:17 +01:00
root.d elements: zypper-minimal: Refresh repositories after adding the cache 2016-10-31 23:34:39 +00:00
element-deps Add zypper-minimal element 2016-10-05 09:27:17 +01:00
package-installs.yaml Add zypper-minimal element 2016-10-05 09:27:17 +01:00
README.rst Add zypper-minimal element 2016-10-05 09:27:17 +01:00

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

This element is incomplete by itself so you probaby 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