diskimage-builder/elements/zypper
Ralf Haferkamp f8a0715c56 Add zypper element
This provides some customizations for zypper based distributions (e.g.
openSUSE and SLES). It is heavily inspired by the yum element and sets up
zypper to cache downloaded package outside of the chroot so that they can be
reused to speed up subsequent builds.

Change-Id: I775c921ee19cf7d1180fb68c1b7857ea6245a77d
2013-12-11 17:09:24 +01:00
..
post-install.d Add zypper element 2013-12-11 17:09:24 +01:00
pre-install.d Add zypper element 2013-12-11 17:09:24 +01:00
root.d Add zypper element 2013-12-11 17:09:24 +01:00
README.md Add zypper element 2013-12-11 17:09:24 +01:00

This element provides some customizations for zypper based distributions like SLES and openSUSE. It works in a very similar way as the yum element does for yum based distributions.

Zypper is reconfigured so that it keeps downloaded packages cached outside of the build chroot so that they can be reused by subsequent image builds. The cache increases image building speed when building multiple images, especially on slow connections. This is more effective than using an HTTP proxy for caching packages since the download servers will often redirect clients to different mirrors.