diskimage-builder/elements/manifests
Michael McCune bcf529ce80 cleaning up 01-copy-manifests-dir
This change adds extra tests to the
elements/manifests/cleanup.d/01-copy-manifests-dir script to prevent it
from exiting with an error due to non-existant files.

The premature exit condition only seems to happen when an image is being
created without including the "base" element.

Changes
* adding file detection tests for dib_arguments and dib_environment
files

Closes-Bug: #1308224
Change-Id: Iaa8bafb6765241408b9f02d4896913d15f2f401d
2014-04-21 16:42:44 -04:00
..
cleanup.d cleaning up 01-copy-manifests-dir 2014-04-21 16:42:44 -04:00
environment.d Standardise manifest creation and retrieval 2014-04-10 12:25:13 +01:00
extra-data.d Standardise manifest creation and retrieval 2014-04-10 12:25:13 +01:00
README.md Standardise manifest creation and retrieval 2014-04-10 12:25:13 +01:00

Copy any manifests generated into the build area post-image creation

This element should be a dependency of any element that writes a manifest into the DIB_MANIFEST_IMAGE_DIR, which defaults to /etc/dib-manifests. This is created in extra-data.d rather than pre-install.d to allow the source-repositories element to make use of it

The manifests are copied to DIB_MANIFEST_SAVE_DIR, which defaults to ${IMAGE_NAME}.d/, resulting in the manifests being available as ${IMAGE_NAME}.d/dib-manifests by default