From 7a5cd2123a5665afaa41ed97914650e711ac8682 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 20 Mar 2014 08:38:01 -0600 Subject: ref-manual, mega-manual: Added manifest file information Fixes [YOCTO #5410] I updated the figure that shows what do_rootfs does to create the image. The new addition is the creation of the .manifest file that lists out package information in the image. Supporting text was also added in the section. The updated figure was needed in both the ref-manual and mega-manual figures folders. Also, part of the fix included a new variable description for the IMAGE_MANIFEST variable. (From yocto-docs rev: 770448e0e8ce2e2c517ced5e71f5a916fefe5cf2) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../mega-manual/figures/image-generation.png | Bin 47713 -> 50418 bytes documentation/ref-manual/closer-look.xml | 15 ++++++++++ .../ref-manual/figures/image-generation.png | Bin 47713 -> 50418 bytes documentation/ref-manual/ref-variables.xml | 33 +++++++++++++++++++++ 4 files changed, 48 insertions(+) diff --git a/documentation/mega-manual/figures/image-generation.png b/documentation/mega-manual/figures/image-generation.png index 5594658200..ab962580c3 100644 Binary files a/documentation/mega-manual/figures/image-generation.png and b/documentation/mega-manual/figures/image-generation.png differ diff --git a/documentation/ref-manual/closer-look.xml b/documentation/ref-manual/closer-look.xml index 683fa42259..136f9389f7 100644 --- a/documentation/ref-manual/closer-look.xml +++ b/documentation/ref-manual/closer-look.xml @@ -970,6 +970,21 @@ executables. + + Along with writing out the root filesystem image, the + do_rootfs task creates a manifest file + (.manifest) in the same directory as + the root filesystem image that lists out, line-by-line, the + installed packages. + This manifest file is useful for the + testimage + class, for example, to determine whether or not to run + specific tests. + See the + IMAGE_MANIFEST + variable for additional information. + + Part of the image generation process includes compressing the root filesystem image. diff --git a/documentation/ref-manual/figures/image-generation.png b/documentation/ref-manual/figures/image-generation.png index 5594658200..ab962580c3 100644 Binary files a/documentation/ref-manual/figures/image-generation.png and b/documentation/ref-manual/figures/image-generation.png differ diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 033661af1c..5f2b76be8c 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -2903,6 +2903,39 @@ + IMAGE_MANIFEST + + + The manifest file for the image. + This file lists all the installed packages that make up + the image. + The file contains package information on a line-per-package + basis as follows: + + <packagename> <packagearch> <version> + + + + + The + image + class defines the manifest file as follows: + + IMAGE_MANIFEST = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.manifest" + + The location is derived using the + DEPLOY_DIR_IMAGE + and + IMAGE_NAME + variables. + You can find information on how the image + is created in the + "Image Generation" + section. + + + + IMAGE_NAME -- cgit v1.2.3-54-g00ecf