diskimage-builder/elements/dpkg
Ben Nemec f6ba2aeaf4 set -e all the things
Using set -e in all of our scripts will prevent some subtle bugs
from slipping in, and will allow us to enforce use of set -e with
tooling.

This change also adds -u and set -o pipefail in the less complex
scripts where it is unlikely to cause problems.  A follow-up change
will enable those options in the complex scripts so that if it
breaks something it can be reverted easily.

Change-Id: I0ad358ccb98da7277a0ee2e9ce8fda98438675eb
2014-04-25 17:38:51 -05:00
..
bin Fix set -eu and pipefail failures 2014-04-15 20:53:15 -05:00
cleanup.d Standardise manifest creation and retrieval 2014-04-10 12:25:13 +01:00
extra-data.d Add ability to add extra apt keys 2014-04-07 13:51:30 +01:00
post-install.d Standardise manifest creation and retrieval 2014-04-10 12:25:13 +01:00
pre-install.d set -e all the things 2014-04-25 17:38:51 -05:00
root.d Fix set -eu and pipefail failures 2014-04-15 20:53:15 -05:00
element-deps Standardise manifest creation and retrieval 2014-04-10 12:25:13 +01:00
README.md Add ability to add extra apt keys 2014-04-07 13:51:30 +01:00

Provide dpkg specific image building glue.

The ubuntu element needs customisations at the start and end of the image build process that do not apply to RPM distributions, such as using the host machine HTTP proxy when installing packages. These customisations live here, where they can be used by any dpkg based element.

The dpkg specific version of install-packages is also kept here.

If an extra or updated apt key is needed then define DIB_ADD_APT_KEYS with the path to a folder. Any key files inside will be added to the key ring before any apt-get commands take place.