diskimage-builder/elements/zypper
Markos Chandras 7f1494a433 elements: zypper: Do not pull recommended packages
Recommended packages are usually useful but we normally don't need
them in order to have a working system. As a result, avoid pulling
them in when doing a regular package installation or a distribution
update. Extra packages can be pulled in using the usual '-p' parameter
or from within the elements that actually need them. The results of
this change are quite significant, resulting to gains from a few dozen
of MBs up to a few hundred depending on the selected elements.

Change-Id: I5838829c631990c7a1f3b67548accd9a603fe20c
2016-10-20 19:24:22 +01:00
..
bin elements: zypper: Do not pull recommended packages 2016-10-20 19:24:22 +01:00
install.d Add opensuse-minimal element 2016-10-05 09:39:29 +01:00
post-install.d Move the opensuse mkinitrd script to the zypper element 2016-10-05 09:11:00 +01:00
pre-install.d Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
root.d Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
element-deps Move opensuse utils to zypper so they can be shared by SUSE-based distros 2016-09-29 22:56:17 +01:00
README.rst Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00

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