diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 49d8f5c10c..b2a2e32c5d 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -5489,17 +5489,18 @@ To build an initramfs image and bundle it into the kernel, set the - following variables: + INITRAMFS_IMAGE_BUNDLE + variable in your local.conf file, and set the + INITRAMFS_IMAGE + variable in your machine.conf file: INITRAMFS_IMAGE_BUNDLE = "1" INITRAMFS_IMAGE = "image_recipe_name" - Setting the - INITRAMFS_IMAGE_BUNDLE - flag causes the initramfs created by the recipe - and defined by - INITRAMFS_IMAGE - to be unpacked into the ${B}/usr/ directory. + Setting the INITRAMFS_IMAGE_BUNDLE + flag causes the initramfs created by the recipe and defined by + INITRAMFS_IMAGE to be unpacked into the + ${B}/usr/ directory. The unpacked initramfs is then passed to the kernel's Makefile using the CONFIG_INITRAMFS_SOURCE @@ -5528,7 +5529,7 @@ .cpio.xz file. You can ensure you produce one of these .cpio.* files by setting the - IMAGE_FSTYPES + INITRAMFS_FSTYPES variable in your configuration file to one or more of the above file types.