diskimage-builder/elements/base
Ben Nemec 16be6d7ce0 set -u and -o pipefail everywhere
As with the previous similar changes, this is intended to catch
problems as they happen instead of ignoring them and continuing on
to potentially fail later.  Setting this on all existing scripts
will allow us to enforce use via Jenkins.

Change-Id: Iad2d490c86dceab148ea9ab08f457c49a5d5352e
2014-05-06 15:51:07 -05:00
..
cleanup.d set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
environment.d Place /usr/lib64/ccache in PATH 2014-04-23 01:18:29 +01: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 set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
pre-install.d set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
root.d set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05: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
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.