diskimage-builder/elements/base
Gregory Haynes 21799254a7 Use package-installs for ubuntu and base elements
Both ccache and linux-image-generic were being installed by
install-packages rather than using a package-installs.yaml.

Change-Id: Ib54c5b51d605278bb9d046a897be989c17c6fb0f
2015-02-06 10:13:08 -08: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 Use package-installs for ubuntu and base elements 2015-02-06 10:13:08 -08: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
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.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.