6077bd8b06
Ensure cache mount directory exists before its used. The zypper element would error when attempting to mount the cache directory because the mount point did not exist. This patch corrects that. Change-Id: Iaa3c2a0254b12bd847643a61a99f5a234097fd21 |
||
---|---|---|
.. | ||
post-install.d | ||
pre-install.d | ||
root.d | ||
README.md |
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.