diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 073897378c..1db35c6d7d 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -2020,9 +2020,10 @@ When you build a Linux Yocto image using the Yocto Project and do not alter any distribution Metadata, you are creating a - Poky Distribution. - If you do not want a Poky Distribution, you can take steps to - create your own distribution. + Poky distribution. + If you wish to gain more control over package alternative + selections, compile-time options, and other low-level + configuration, you can create your own distribution. @@ -2039,28 +2040,29 @@ layer for configuration and code. Using your own layer as compared to just placing configurations in a local.conf - configuration file makes it easier to reproduce your - distribution when using multiple build machines. + configuration file makes it easier to reproduce the same + build configuration when using multiple build machines. Create the Distribution Configuration File: The distribution configuration file needs to be created in the conf/distro directory of your layer. You need to name it using your distribution name - (e.g. mydistro.conf. + (e.g. mydistro.conf). You can split out parts of your configuration file into include file and then "require" them from within your distribution configuration file. Be sure to place the include files in the conf/distro/include directory of your layer. - Common include files select the desired version and - revisions for individual recipes. + A common example usage of include files would be to + separate out the selection of desired version and revisions + for individual recipes. If you want to base your distribution configuration file on the very basic configuration from OE-Core, you can "require" - require conf/distro/defaultsetup.conf. + conf/distro/defaultsetup.conf. Alternatively, you can create a distribution configuration file from scratch using the defaultsetup.conf file @@ -2072,19 +2074,19 @@ DISTRO_NAME [required] DISTRO_VERSION [required] - DISTRO_FEATURES - DISTRO_EXTRA_RDEPENDS - DISTRO_EXTRA_RRECOMMENDS - TCLIBC - PREFERRED_VERSION - PREFERRED_PROVIDER + DISTRO_FEATURES [required if creating from scratch] + DISTRO_EXTRA_RDEPENDS [optional] + DISTRO_EXTRA_RRECOMMENDS [optional] + TCLIBC [required if creating from scratch] Provide Miscellaneous Variables: Be sure to define any other variable for which you want to create a default or enforce as part of the distribution configuration. You can include nearly any variable from the - local.conf file. + local.conf file. + The variables you use are not limited to the list in the + previous bulletted item. Point to Your Distribution Configuration File: In your local.conf file in the Build Directory,