bfeb9d9e99
For builds inside the infra, we don't want to pack the cache inside the image (as it might be different at the time the image runs). In an opensuse-minimal image this saves about 10MB of image size. Change-Id: I5ecabd46f0a662798bda3e4468395ad8308d0055 |
||
---|---|---|
.. | ||
bin | ||
install.d | ||
post-install.d | ||
pre-install.d | ||
root.d | ||
element-deps | ||
README.rst |
zypper
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.