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."