diskimage-builder/elements/base
Monty Taylor 3acc866f6d Use DIB_IMAGE_CACHE everywhere
disk-image-create processes a DIB_IMAGE_CACHE variable and exports it,
but there are several elements that ignore the value and wrote out
the base location themselves. Use the variable everywhere so that it
will get overridden everywhere.

Change-Id: I00fff354d6c931ad67cf3052d055f0e4604dfdc8
2014-10-05 13:58:32 -07:00
..
cleanup.d Truncate instead of deleting log files 2014-08-28 19:18:30 -05:00
environment.d introduce $SYSTEMD_SYSTEM_UNIT_DIR 2014-06-17 19:34:29 +02:00
extra-data.d set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
finalise.d set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05: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-first-boot set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05: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.