From 88528a128fe7c11871c24706ff6d245b183d6975 Mon Sep 17 00:00:00 2001 From: Maciej Borzecki Date: Fri, 19 Dec 2014 15:35:51 -0600 Subject: ref-manual: Update to the BOOT_IMAGE_FILES variable in the glossary Update entry for IMAGE_BOOT_FILES with information on glob patterns. (From yocto-docs rev: ad3fc0061e3f4dc3ecc6b0a101685c301c5690e9) Signed-off-by: Maciej Borzecki Signed-off-by: Maciek Borzecki Signed-off-by: Ross Burton Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 31 ++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 16f703dc42..e3272fec79 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -3863,9 +3863,12 @@ A space-separated list of files installed into the - boot partition when preparing an image. - By default, the files are installed under the same name as - the source files. + boot partition when preparing an image using the + wic tool with the + bootimg-partition source + plugin. + By default, the files are installed under + the same name as the source files. To change the installed name, separate it from the original name with a semi-colon (;). Source files need to be located in @@ -3875,7 +3878,27 @@ IMAGE_BOOT_FILES = "u-boot.img uImage;kernel" IMAGE_BOOT_FILES = "u-boot.${UBOOT_SUFFIX} ${KERNEL_IMAGETYPE}" - + + Alternatively, source files can be picked up using + a glob pattern. + In this case, the destination file + will have the same name as the base name of the source file + path. + To install files into a directory within the + target location, pass its name after a semi-colon + (;). + Here are two examples: + + IMAGE_BOOT_FILES = "bcm2835-bootfiles/*" + IMAGE_BOOT_FILES = "bcm2835-bootfiles/*;boot/" + + The first example installs all files from + ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles + into the root of the target partition. + The second example installs the same files into a + boot directory within the + target partition. + -- cgit v1.2.3-54-g00ecf