diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-03-07 16:46:01 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-25 12:29:38 +0000 |
commit | a41113c94f1e959c15a21b1ed40c44cfcca0338f (patch) | |
tree | 7e4091f80d02088ba1aa4ddeda69168758d84920 | |
parent | bcd9917f8d8b70f244815ea3136a7082c2cba2aa (diff) | |
download | poky-a41113c94f1e959c15a21b1ed40c44cfcca0338f.tar.gz |
ref-manual: Added CONFIG_INITRAMFS_SOURCE and edited INITRAMFS_IMAGE_BUNDLE variables.
Fixes [YOCTO #4072]
Added the new variable CONFIG_INITRAMFS_SOURCE, which points to the
initramfs source. I also added information to the
INITRAMFS_IMAGE_BUNDLE variable noting how its use can avoid
circular dependencies as described by the bug.
(From yocto-docs rev: 73267642299d1164eeee5866e7ca7006c56260e5)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 1cdf902d08..9420050f06 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -1293,6 +1293,38 @@ | |||
1293 | </glossdef> | 1293 | </glossdef> |
1294 | </glossentry> | 1294 | </glossentry> |
1295 | 1295 | ||
1296 | <glossentry id='var-CONFIG_INITRAMFS_SOURCE'><glossterm>CONFIG_INITRAMFS_SOURCE</glossterm> | ||
1297 | <glossdef> | ||
1298 | <para> | ||
1299 | Identifies the initial RAM disk (initramfs) source files. | ||
1300 | The OpenEmbedded build system receives and uses | ||
1301 | this kernel Kconfig variable as an environment variable. | ||
1302 | By default, the variable is set to null (""). | ||
1303 | </para> | ||
1304 | |||
1305 | <para> | ||
1306 | The <filename>CONFIG_INITRAMFS_SOURCE</filename> can be | ||
1307 | either a single cpio archive with a | ||
1308 | <filename>.cpio</filename> suffix or a | ||
1309 | space-separated list of directories and files for building | ||
1310 | the initramfs image. | ||
1311 | A cpio archive should contain a filesystem archive | ||
1312 | to be used as an initramfs image. | ||
1313 | Directories should contain a filesystem layout to be | ||
1314 | included in the initramfs image. | ||
1315 | Files should contain entries according to the format | ||
1316 | described by the | ||
1317 | <filename>usr/gen_init_cpio</filename> program in the | ||
1318 | kernel tree. | ||
1319 | </para> | ||
1320 | |||
1321 | <para> | ||
1322 | If you specify multiple directories and files, the | ||
1323 | initramfs image will be the aggregate of all of them. | ||
1324 | </para> | ||
1325 | </glossdef> | ||
1326 | </glossentry> | ||
1327 | |||
1296 | <glossentry id='var-CONFIG_SITE'><glossterm>CONFIG_SITE</glossterm> | 1328 | <glossentry id='var-CONFIG_SITE'><glossterm>CONFIG_SITE</glossterm> |
1297 | <glossdef> | 1329 | <glossdef> |
1298 | <para> | 1330 | <para> |
@@ -3312,6 +3344,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
3312 | is run through an extra pass during kernel compilation | 3344 | is run through an extra pass during kernel compilation |
3313 | in order to build a single binary that contains both the | 3345 | in order to build a single binary that contains both the |
3314 | kernel image and the initial RAM disk (initramfs). | 3346 | kernel image and the initial RAM disk (initramfs). |
3347 | Using an extra compilation pass ensures that when a kernel | ||
3348 | attempts to use an initramfs, it does not encounter | ||
3349 | circular dependencies should the initramfs include kernel | ||
3350 | modules. | ||
3351 | </para> | ||
3352 | |||
3353 | <para> | ||
3315 | The combined binary is deposited into the | 3354 | The combined binary is deposited into the |
3316 | <filename>tmp/deploy</filename> directory, which is part | 3355 | <filename>tmp/deploy</filename> directory, which is part |
3317 | of the | 3356 | of the |