From ddcf3db028c3955ca8da888f5b45bbd43e4baacd Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 5 Apr 2013 09:59:30 +0100 Subject: [PATCH] Update README.md for build-time state capture Document the existence and genesis of /etc/dib_{environment,arguments} Change-Id: I99e696b87230d3b45ae1d37ee0de3742f407f0ce --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d4f5f8de8..295c5334d 100644 --- a/README.md +++ b/README.md @@ -207,6 +207,10 @@ dependent upon specific element names. Debugging elements ------------------ +The build-time environment and command line arguments are captured by the +'base' element and written to /etc/dib\_environment and /etc/dib\_arguments +inside the image. + Export 'break' to drop to a shell during the image build. Break points can be set either before or after any of the hook points by exporting "break=[before|after]-hook-name". Multiple break points can be specified as a @@ -257,7 +261,7 @@ or by exporting variables to override those present in lib/img-defaults. -h to get help. -Using the variable ELEMENTS_PATH will allow to specify multiple elements locations. +Using the variable ELEMENTS\_PATH will allow to specify multiple elements locations. It's a colon (:) separated path list, and it will work in a first path/element found, first served approach.