From 9953555002558f1abb1cd2d8143cf2be07c3171f Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 25 Feb 2014 19:51:37 -0600 Subject: ref-manual: Edits to the "Maintaining Build Output Quality" section. Removed the bit about isolating SDK information. Also removed the workaround and text regarding the limitation that caused adding and removing INHERIT += "buildhistory" to re-execute tasks. Added a few links to some newly documented variables. (From yocto-docs rev: 7d13bea6d9f0c2bdc9aa58c2933998d6d10ac810) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/usingpoky.xml | 42 +++++++--------------------------- 1 file changed, 8 insertions(+), 34 deletions(-) diff --git a/documentation/ref-manual/usingpoky.xml b/documentation/ref-manual/usingpoky.xml index 1d75a9994e..dd93f30dd1 100644 --- a/documentation/ref-manual/usingpoky.xml +++ b/documentation/ref-manual/usingpoky.xml @@ -475,7 +475,10 @@ Build history is disabled by default. - To enable it, add the following statements to the end of your + To enable it, add the following INHERIT + statement and set the + BUILDHISTORY_COMMIT + variable to "1" at the end of your conf/local.conf file found in the Build Directory: @@ -496,25 +499,6 @@ You can disable build history by removing the previous statements from your conf/local.conf file. - However, you should realize that enabling and disabling - build history in this manner can change the - do_package task checksums which, if you - are using the OEBasicHash signature generator (the default - for many current distro configurations including - DISTRO = "poky" and - DISTRO = "") will result in the packaging - tasks being re-run during the subsequent build. - - - - To disable the build history functionality without causing the - packaging tasks to be re-run, set the - BUILDHISTORY_FEATURES - variable as follows in your conf/local.conf - file: - - BUILDHISTORY_FEATURES = "" - @@ -660,7 +644,7 @@ A directory containing selected files from the root filesystem. The files are defined by - BUILDHISTORY_IMAGE_FILES. + BUILDHISTORY_IMAGE_FILES. build-id: Human-readable information about the build configuration @@ -747,20 +731,9 @@ Build History SDK Information Build history collects similar information on the contents - of SDKs (e.g., meta-toolchain + of SDKs (e.g. meta-toolchain or bitbake -c populate_sdk imagename) as compared to information it collects for images. - If you want information on the SDK, you need to list that - feature using the - BUILDHISTORY_FEATURES - variable as follows in your conf/local.conf - file found in the - Build Directory: - - INHERIT += "buildhistory" - BUILDHISTORY_COMMIT = "0" - BUILDHISTORY_FEATURES = "sdk" - : The following list shows the files produced for each SDK: files-in-sdk.txt: @@ -830,7 +803,8 @@ To see any changes that have occurred (assuming you have - BUILDHISTORY_COMMIT = "1"), you can simply + BUILDHISTORY_COMMIT = "1"), + you can simply use any Git command that allows you to view the history of a repository. Here is one method: -- cgit v1.2.3-54-g00ecf