bcf529ce80
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 |
||
---|---|---|
.. | ||
cleanup.d | ||
environment.d | ||
extra-data.d | ||
README.md |
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