Detail 'other' directories in the README

Elements can use arbitrary directories in diskimage-builder, so
ensure we make mention of that, and give an example of such a use.

Change-Id: I0e57ece82629c1be4e0f9612c2a565802b222687
This commit is contained in:
Jon-Paul Sullivan 2014-07-10 14:05:02 +01:00
parent 4e97def3d5
commit 9be9ca8df8

View file

@ -324,6 +324,15 @@ two-digit numeric prefix, and are executed in numeric order.
* runs: outside chroot
* inputs: $ARCH=i386|amd64|armhf $TARGET\_ROOT=/path/to/target/workarea
### Other Subdirectories ###
Elements may have other subdirectories that are processed by specific elements
rather than the diskimage-builder tools themselves.
One example of this is the ``bin`` directory. The ``rpm-distro``, ``dpkg`` and
``opensuse`` elements install all files found in the ``bin`` directory into
``/usr/local/bin`` within the image as executable files.
### Environment Variables ###
To set environment variables for other hooks, add a file to environment.d.