From 359b7fb639d5fa11baba0b3257b7e410d34d4d4b Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 6 Oct 2015 10:18:05 -0700 Subject: [PATCH] ref-manual: Added three PACKAGE_FEED_* variable descriptions Fixes [YOCOT #8301] Added descriptions for PACKAGE_FEED_ARCHS, PACKAGE_FEED_BASE_PATHS, and PACKAGE_FEED_URIS variables. The build system uses these three variables to construct a set of final package feed URIs. (From yocto-docs rev: 53447af460932caa5b2b7637894657eb9fd2e84d) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 138 +++++++++++++++++++++ 1 file changed, 138 insertions(+) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 0bc7a82b48..538936b43e 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -8537,6 +8537,144 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + PACKAGE_FEED_ARCHS + + PACKAGE_FEED_ARCHS[doc] = "Specifies user-defined package architectures when constructing package feed URIs." + + + + + Specifies the package architectures used as part of the + package feed URIs during the build. + The PACKAGE_FEED_ARCHS variable is + appended to the final package feed URI, which is constructed + using the + PACKAGE_FEED_URIS + and + PACKAGE_FEED_BASE_PATHS + variables. + + + + Consider the following example where the + PACKAGE_FEED_URIS, + PACKAGE_FEED_BASE_PATHS, and + PACKAGE_FEED_ARCHS variables are + defined in your local.conf file: + + PACKAGE_FEED_URIS = "https://example.com/packagerepos/release \ + https://example.com/packagerepos/updates" + PACKAGE_FEED_BASE_PATHS = "rpm rpm-dev" + PACKAGE_FEED_ARCHS = "all core2-64" + + Given these settings, the resulting package feeds are + as follows: + + https://example.com/packagerepos/release/rpm/all + https://example.com/packagerepos/release/rpm/core2-64 + https://example.com/packagerepos/release/rpm-dev/all + https://example.com/packagerepos/release/rpm-dev/core2-64 + https://example.com/packagerepos/updates/rpm/all + https://example.com/packagerepos/updates/rpm/core2-64 + https://example.com/packagerepos/updates/rpm-dev/all + https://example.com/packagerepos/updates/rpm-dev/core2-64 + + + + + + PACKAGE_FEED_BASE_PATHS + + PACKAGE_FEED_BASE_PATHS[doc] = "Specifies base path used when constructing package feed URIs." + + + + + Specifies the base path used when constructing package feed + URIs. + The PACKAGE_FEED_BASE_PATHS variable + makes up the middle portion of a package feed URI used + by the OpenEmbedded build system. + The base path lies between the + PACKAGE_FEED_URIS + and + PACKAGE_FEED_ARCHS + variables. + + + + Consider the following example where the + PACKAGE_FEED_URIS, + PACKAGE_FEED_BASE_PATHS, and + PACKAGE_FEED_ARCHS variables are + defined in your local.conf file: + + PACKAGE_FEED_URIS = "https://example.com/packagerepos/release \ + https://example.com/packagerepos/updates" + PACKAGE_FEED_BASE_PATHS = "rpm rpm-dev" + PACKAGE_FEED_ARCHS = "all core2-64" + + Given these settings, the resulting package feeds are + as follows: + + https://example.com/packagerepos/release/rpm/all + https://example.com/packagerepos/release/rpm/core2-64 + https://example.com/packagerepos/release/rpm-dev/all + https://example.com/packagerepos/release/rpm-dev/core2-64 + https://example.com/packagerepos/updates/rpm/all + https://example.com/packagerepos/updates/rpm/core2-64 + https://example.com/packagerepos/updates/rpm-dev/all + https://example.com/packagerepos/updates/rpm-dev/core2-64 + + + + + + PACKAGE_FEED_URIS + + PACKAGE_FEED_URIS[doc] = "Specifies the front portion of the package feed URI used by the OpenEmbedded build system." + + + + + Specifies the front portion of the package feed URI + used by the OpenEmbedded build system. + Each final package feed URI is comprised of + PACKAGE_FEED_URIS, + PACKAGE_FEED_BASE_PATHS, + and + PACKAGE_FEED_ARCHS + variables. + + + + Consider the following example where the + PACKAGE_FEED_URIS, + PACKAGE_FEED_BASE_PATHS, and + PACKAGE_FEED_ARCHS variables are + defined in your local.conf file: + + PACKAGE_FEED_URIS = "https://example.com/packagerepos/release \ + https://example.com/packagerepos/updates" + PACKAGE_FEED_BASE_PATHS = "rpm rpm-dev" + PACKAGE_FEED_ARCHS = "all core2-64" + + Given these settings, the resulting package feeds are + as follows: + + https://example.com/packagerepos/release/rpm/all + https://example.com/packagerepos/release/rpm/core2-64 + https://example.com/packagerepos/release/rpm-dev/all + https://example.com/packagerepos/release/rpm-dev/core2-64 + https://example.com/packagerepos/updates/rpm/all + https://example.com/packagerepos/updates/rpm/core2-64 + https://example.com/packagerepos/updates/rpm-dev/all + https://example.com/packagerepos/updates/rpm-dev/core2-64 + + + + + PACKAGE_GROUP PACKAGE_GROUP[doc] = "Defines one or more packages to include in an image when a specific item is included in IMAGE_FEATURES."