RETIRED, Pieces of diskimage-builder that are useful without the full project
Go to file
Ian Wienand 51661c33a5 Show tracing around sourcing environment.d files
Sourcing of environment files is a bit different than running scripts,
because they are imported into the current environment.  That means
that if they are fiddling with "set -x" you can get odd things in the
output -- for example, if one environment file enables tracing then
all proceeding sourcing will have it on, but all the files sourced
before will not have output.  This is super confusing.

It's also very helpful to see how things are being expanded as they
set environment variables.

Thus I think the best idea is for environment files to leave tracing
alone and dib-run-parts can a) give a useful output about what file it
is sourcing and b) enable tracing around the import, then restore it
to the previous state afterwards.

Change-Id: I29f7df1514aeb988222d1094e8269eddb485c2a0
2016-10-20 13:30:41 +11:00
bin Show tracing around sourcing environment.d files 2016-10-20 13:30:41 +11:00
tests Use 'output' function instead of 'echo' for statistics log 2016-06-02 12:09:43 +10:00
.gitignore Create a new baremetal element 2014-01-20 23:00:21 +11:00
.gitreview Fix up diskimage-builder references 2014-04-24 21:48:31 +00:00
LICENSE Add missing LICENSE 2014-09-18 20:26:52 -04:00
README.md Add build files so this can actually be packaged 2014-04-25 18:18:23 +00:00
setup.cfg Remove hardcoded version. 2014-08-20 13:39:02 +12:00
setup.py Add build files so this can actually be packaged 2014-04-25 18:18:23 +00:00
tox.ini Use 'output' function instead of 'echo' for statistics log 2016-06-02 12:09:43 +10:00

README.md

Standalone tools related to diskimage-builder

These tools were originally part of the diskimage-builder project, but they have uses outside of that project as well. Because disk space is at a premium in base cloud images, pulling in all of diskimage-builder and its dependencies just to use something like dib-run-parts is not desirable. This project allows consumers to use the tools while pulling in only one small package with few/no additional dependencies.