From e822444f5cc67e25463367826c9dea1861c92061 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 4 Apr 2013 07:51:37 -0700 Subject: ref-manual: Edits applied to buildhistory patch 2 of 5. Did some rewriting to conform to the manual's style and formatting. (From yocto-docs rev: 6a961978b207d8992ade86f82838914b858accdb) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/usingpoky.xml | 65 ++++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 26 deletions(-) diff --git a/documentation/ref-manual/usingpoky.xml b/documentation/ref-manual/usingpoky.xml index 677b5a21a7..778d053cd6 100644 --- a/documentation/ref-manual/usingpoky.xml +++ b/documentation/ref-manual/usingpoky.xml @@ -547,12 +547,15 @@ - Finally, for those recipes that are fetched from a version control - system (such as Git) there is a file that lists the source revision(s) - specified in the recipe and the actual revision used when building - (which may be different when SRCREV is set to - ${AUTOREV} for example). Here is an example - of one of these files: + Finally, for those recipes fetched from a version control + system (e.g., Git), a file exists that lists source revisions + that are specified in the recipe and lists the actual revisions + used during the build. + Listed and actual revisions might differ when + SRCREV + is set to + ${AUTOREV}. + Here is an example assuming buildhistory/packages/emenlow-poky-linux/linux-yocto/latest_srcrev): # SRCREV_machine = "b5c37fe6e24eec194bb29d22fdd55d73bcc709bf" @@ -565,8 +568,9 @@ You can use the buildhistory-collect-srcrevs command to collect the stored SRCREV values from build history and report them in a format suitable for use in - global configuration (for example, local.conf or a distro include - file) to override floating AUTOREV values to a fixed set of revisions. + global configuration (e.g., local.conf + or a distro include file) to override floating + AUTOREV values to a fixed set of revisions. Here is some example output from this command: # emenlow-poky-linux @@ -578,24 +582,33 @@ SRCREV_pn-blktrace = "d6918c8832793b4205ed3bfede78c2f915c23385" SRCREV_pn-opkg = "649" - Some notes on using the buildhistory-collect-srcrevs - command: - - By default only values where the SRCREV was - not hardcoded (usually when AUTOREV was used) are reported - - use the -a option to see all SRCREV - values. - The output statements may not have any effect - in the face of overrides applied elsewhere in the build system - configuration; use the -f option to add the - forcevariable override to each output line - if you need to work around this. - The script does not do any special handling for - building for multiple machines; however it does place a - comment before each set of values specifying which triplet - (for example emenlow-poky-linux) that they - belong to as shown above. - + + Here are some notes on using the + buildhistory-collect-srcrevs command: + + By default, only values where the + SRCREV was + not hardcoded (usually when AUTOREV + was used) are reported. + Use the -a option to see all + SRCREV values. + + The output statements might not have any effect + if overrides are applied elsewhere in the build system + configuration. + Use the -f option to add the + forcevariable override to each output line + if you need to work around this restriction. + + The script does apply special handling when + building for multiple machines. + However, the script does place a + comment before each set of values that specifies + which triplet to which they belong as shown above + (e.g., emenlow-poky-linux). + + + -- cgit v1.2.3-54-g00ecf