From 9be9ca8df80823d921e364c7f1a2439bf9879998 Mon Sep 17 00:00:00 2001 From: Jon-Paul Sullivan Date: Thu, 10 Jul 2014 14:05:02 +0100 Subject: [PATCH] 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 --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 1074695c..f066093e 100644 --- a/README.md +++ b/README.md @@ -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.