diskimage-builder/diskimage_builder/elements/zypper-minimal
Ian Wienand 6802cf7100 Run dib-run-parts out of /tmp
The dib-run-parts element was copying our internal version of
dib-run-parts into /usr/local/bin to be used running scripts inside
the target chroot.  However, it never cleaned up after itself.  This
means all images were left with an unmanaged local install of
dib-run-parts.

This copies dib-run-parts into the hooks directory of the chroot and
runs it from there.  It is cleaned up automatically on the exit path.

The dib-run-parts element is no longer required and it has been
removed from all dependencies.  It is left with a deprecation notice
in the README.  For compatability we convert it to simply install
dib-utils.

Codesearch shows no users depending on this unintentional implicit
install.  Note os-refresh-config depends on dib-utils and thus will
have an explicitly installed version.

Partial-Bug: #1673144
Change-Id: Ia2e96c00a4246c04beb96c17f83b8aefb69219ca
2017-04-05 13:11:22 +10:00
..
install.d Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
root.d Merge branch 'master' into merge-branch 2017-03-02 13:49:29 +11:00
element-deps Run dib-run-parts out of /tmp 2017-04-05 13:11:22 +10: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