From 98d10eb86b9be701c2270afb4c8ad9b6ec56e888 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 28 Mar 2013 12:13:02 -0700 Subject: ref-manual: Edits to SRC_URI variable. (From yocto-docs rev: f76f5d5a3cb30d72dc45fb50cf6c14b5ef64c605) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 58 +++++++++++++++++------------- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 1a4d9e639a..5c91fa6809 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -2942,7 +2942,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" The following list explains the available URI protocols: file:// - Fetches files, which is usually - a file shipped with the metadata, from the local machine. + a file shipped with the + Metadata, + from the local machine. The path is relative to the FILESPATH variable. @@ -2955,11 +2957,12 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" For example, using bash to build for the native machine, PN is bash-native. Using bash to build for the target and for Multilib, - PN would be bash and + PN + would be bash and lib64-bash, respectively. ${PF} - - ${PN}-${EXTENDPE}${PV}-${PR}. + ${PN}-${EXTENDPE}${PV}-${PR}. The recipe name including all version and revision numbers (i.e. eglibc-2.13-r20+svnr15508/ and bash-4.2-r1/). @@ -2971,7 +2974,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" base recipe name without any special suffix or version numbers. ${BP} - - ${BPN}-${PV}. + ${BPN}-${PV}. The base recipe name and version but without any special package name suffix. Files - Files beneath the directory in which the recipe @@ -2984,7 +2987,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" git:// - Fetches files from a Git revision control repository. osc:// - Fetches files from - an OSC (OpenSuse Build service) revision control repository. + an OSC (OpenSUSE Build service) revision control repository. repo:// - Fetches files from a repo (Git) repository. svk:// - Fetches files from @@ -3020,24 +3023,31 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" Here are options specific to recipes building code from a revision control system: - mindate - Only applies - the patch if SRCDATE - is equal to or greater than mindate. - maxdate - Only applies - the patch if SRCDATE - is not later than mindate. - minrev - Only applies - the patch if SRCREV - is equal to or greater than minrev. - maxrev - Only applies - the patch if SRCREV - is not later than maxrev. - rev - Only applies the - patch if SRCREV - is equal to rev. - notrev - Only applies - the patch if SRCREV - is not equal to rev. + mindate - + Apply the patch only if + SRCDATE + is equal to or greater than mindate. + + maxdate - + Apply the patch only if SRCDATE + is not later than mindate. + + minrev - + Apply the patch only if SRCREV + is equal to or greater than minrev. + + maxrev - + Apply the patch only if SRCREV + is not later than maxrev. + + rev - + Apply the patch only if SRCREV + is equal to rev. + + notrev - + Apply the patch only if SRCREV + is not equal to rev. + Here are some additional options worth mentioning: @@ -3049,7 +3059,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" (or extracts its contents) into the specified subdirectory of WORKDIR. This option is useful for unusual tarballs or other archives that - don't have their files already in a subdirectory within the archive. + do not have their files already in a subdirectory within the archive. name - Specifies a name to be used for association with SRC_URI checksums -- cgit v1.2.3-54-g00ecf