9e392f56b0
Because environment files are sourced into the current environment, they shouldn't be setting global settings like tracing else they affect every preceeding import. This is quite confusing when only half your imports are traced in the logs, because it was either turned on, or off, by a preceeding environment import. There is a corresponding dib-run-parts change in I29f7df1514aeb988222d1094e8269eddb485c2a0 that will greatly increase debugability for environment files by deliberately logging what files are sourced and consistently turning on tracing around their import. This isn't strictly necessary (since dib-run-parts with the prior change will just turn tracing off after import anyway) but it's a decent cleanup for consistency. A bare-minimum dib-lint check is added. Documentation is updated. Change-Id: I10f68be0642835a04af7e5a2bc101502f61e5357 |
||
---|---|---|
.. | ||
cleanup.d | ||
environment.d | ||
extra-data.d | ||
README.rst |
========= manifests ========= 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