diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-11-19 15:20:13 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-03 13:52:59 +0000 |
commit | 095bdd85ed4c0d97a79f191afe84797f7d868fb8 (patch) | |
tree | f0628f6c85ad56ad9f3774a9e0af2f3182e0d0bc /documentation | |
parent | 5fd4f1ad05a5dbf737e5081feff84db6289e3739 (diff) | |
download | poky-095bdd85ed4c0d97a79f191afe84797f7d868fb8.tar.gz |
documentation: poky-ref-manual - method for discovering features
Fixes [YOCTO #3292]
Added a bit to the start of the Features chapter to give the user
a method they can use to discover recipes that are checking for
features added to the image.
(From yocto-docs rev: 261cc16ad900f7f5254fa97dab82beab94f717d3)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/poky-ref-manual/ref-features.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/documentation/poky-ref-manual/ref-features.xml b/documentation/poky-ref-manual/ref-features.xml index 2178d2a322..ec70547314 100644 --- a/documentation/poky-ref-manual/ref-features.xml +++ b/documentation/poky-ref-manual/ref-features.xml | |||
@@ -24,6 +24,25 @@ | |||
24 | be included if the distribution itself does not support them. | 24 | be included if the distribution itself does not support them. |
25 | </para> | 25 | </para> |
26 | 26 | ||
27 | <para> | ||
28 | One method you can use to determine which recipes are checking to see if a | ||
29 | particular feature is contained or not is to <filename>grep</filename> through | ||
30 | the metadata for the feature. | ||
31 | Here is an example that discovers the recipes whose build is potentially | ||
32 | changed based on a given feature: | ||
33 | <literallayout class='monospaced'> | ||
34 | $ cd $HOME/poky | ||
35 | $ git grep 'contains.*MACHINE_FEATURES.*<feature>' | ||
36 | </literallayout> | ||
37 | </para> | ||
38 | |||
39 | <para> | ||
40 | This chapter provides a reference of shipped machine and distro features | ||
41 | you can include as part of the image, a reference on image types you can | ||
42 | build, and a reference on feature backfilling. | ||
43 | </para> | ||
44 | |||
45 | |||
27 | <section id='ref-features-distro'> | 46 | <section id='ref-features-distro'> |
28 | <title>Distro</title> | 47 | <title>Distro</title> |
29 | 48 | ||