diskimage-builder/elements/base
Dan Prince 022cb2c1c2 Support installing packages by default
Adds new disk-image-create --install-type option which
can be used to enable alternate install types. The
default install type is 'source'.

The motivation is to eliminate elements like
enable-package-installs which require coupling and also
don't work with elements in multiple element repositories.

This patch does not prevent you from using the previous
DIB_INSTALLTYPE_ variables to customize the install type,
rather it just changes the default so you don't have to
set it so often when using things like packages.

Change-Id: Icee98440fc2251728f2dca30e7c4789a0fd89b93
2014-10-28 15:05:53 -04:00
..
cleanup.d Truncate instead of deleting log files 2014-08-28 19:18:30 -05:00
environment.d Revert "introduce $SYSTEMD_SYSTEM_UNIT_DIR" 2014-10-17 10:29:34 +02:00
extra-data.d Support installing packages by default 2014-10-28 15:05:53 -04:00
install.d Update base element to make use of pkg-map 2014-06-20 16:02:28 -04:00
pre-install.d Use $DISTRO_NAME instead of local lsb_release 2014-06-26 16:47:21 -04:00
root.d Use DIB_IMAGE_CACHE everywhere 2014-10-05 13:58:32 -07:00
dib-init-system set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
element-deps Update base element to make use of pkg-map 2014-06-20 16:02:28 -04:00
pkg-map Map dkms package for SUSE in base element 2014-09-02 18:17:45 +02:00
README.md Move /tmp/ccache setup to base element 2013-10-10 16:27:09 +11:00

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.