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
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