From ad1ba190df11353df7dd676ca30bbc8bd6e68671 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 16 Sep 2016 10:43:10 -0700 Subject: [PATCH] ref-manual: Updates to PKGDESTWORK and do_packagedata Fixes [YOCTO #10248] Provided more accurate descriptions for this variable and task. (From yocto-docs rev: 422fa705165748230470fffc4fcc543ee38b1f2e) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-tasks.xml | 9 ++++---- documentation/ref-manual/ref-variables.xml | 27 ++++++++++------------ 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/documentation/ref-manual/ref-tasks.xml b/documentation/ref-manual/ref-tasks.xml index fa9fca1ce3..0ad3632538 100644 --- a/documentation/ref-manual/ref-tasks.xml +++ b/documentation/ref-manual/ref-tasks.xml @@ -417,10 +417,11 @@ <filename>do_packagedata</filename> - Creates package metadata used by the build system to generate the - final packages. - The data is saved in - PKGDATA_DIR. + Saves package metadata generated by the + do_package + task in + PKGDATA_DIR + to make it available globally. diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index a97369dfad..89970421ad 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -9691,33 +9691,30 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" PKGDESTWORK - PKGDESTWORK[doc] = "Points to a temporary work area used by the do_package task to write output from the do_packagedata task." + PKGDESTWORK[doc] = "Points to a temporary work area where the do_package task saves package metadata." - Points to a temporary work area used by the + Points to a temporary work area where the do_package - task to write output from the - do_packagedata - task. + task saves package metadata. The PKGDESTWORK location defaults to the following: ${WORKDIR}/pkgdata - - - - The do_packagedata task then packages - the data in the temporary work area and installs it into a - shared directory pointed to by - PKGDATA_DIR. - - - Do not change this default. + + + The + do_packagedata + task copies the package metadata from + PKGDESTWORK to + PKGDATA_DIR + to make it available globally. +