diskimage-builder/elements/base
Dan Prince 208da5f605 Update packages earlier
Turns out that updating packages last causes some pretty
non-intuitive behaviour if you are trying to pin a package
to a specific version. Lets just update the base RPMs first...
subsequent installations should install the most updated version
anyways (unless they are pinned).

Also moves the package-installs script from the 00 step to 01 so
we can do the update first.

Co-Authored-By: Ben Nemec <bnemec@redhat.com>

Change-Id: I962046cc6048e852e6582fbc579f88bb73e23fdd
2015-04-13 21:50:10 +00:00
..
cleanup.d Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
environment.d Split dib-init-system into its own element 2015-03-25 13:28:38 -04:00
extra-data.d Use find instead of ls 2015-03-31 13:24:29 +02:00
install.d Update packages earlier 2015-04-13 21:50:10 +00:00
pre-install.d Split dib-init-system into its own element 2015-03-25 13:28:38 -04:00
root.d Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
element-deps Split dib-init-system into its own element 2015-03-25 13:28:38 -04:00
package-installs.yaml Use package-installs for ubuntu and base elements 2015-02-06 10:13:08 -08:00
pkg-map Map dkms package for SUSE in base element 2014-09-02 18:17:45 +02:00
README.rst Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00

====
base
====
This is the base element.

Almost all users will want to include this in their disk image build,
as it includes a lot of useful functionality.

Notes:

 * If you are getting warnings during the build about your locale
   being missing, consider installing/generating the relevant locale.
   This may be as simple as having language-pack-XX installed in the
   pre-install stage

 * This element ensures /tmp/ccache will be available in the chroot
   during the root, extra-data, pre-install, install and post-install
   stages.  /tmp/ccache is unavailable during block-device, finalise
   and cleanup stages as it will have been automatically unmounted
   by then.