Comments
Patch
@@ -1616,6 +1616,8 @@ python package_depchains() {
depend = depend.replace('-dev', '')
if depend.endswith('-dbg'):
depend = depend.replace('-dbg', '')
+ if depend.endswith('-doc'):
+ depend = depend.replace('-doc', '')
pkgname = getname(depend, suffix)
#bb.note("Adding %s for %s" % (pkgname, depend))
if pkgname not in rreclist:
@@ -1637,6 +1639,8 @@ python package_depchains() {
depend = depend.replace('-dev', '')
if depend.endswith('-dbg'):
depend = depend.replace('-dbg', '')
+ if depend.endswith('-doc'):
+ depend = depend.replace('-doc', '')
pkgname = getname(depend, suffix)
#bb.note("Adding %s for %s" % (pkgname, depend))
if pkgname not in rreclist:
@@ -20,7 +20,7 @@ python () {
packages = d.getVar('PACKAGES', True).split()
genpackages = []
for pkg in packages:
- for postfix in ['-dbg', '-dev']:
+ for postfix in ['-dbg', '-dev', '-doc']:
genpackages.append(pkg+postfix)
d.setVar('PACKAGES', ' '.join(packages+genpackages))
}
@@ -233,7 +233,7 @@ HOMEPAGE = "unknown"
# Ensure that -dev packages recommend the corresponding -dev packages of their
# deps, and the same for -dbg.
DEPCHAIN_PRE = ""
-DEPCHAIN_POST = "-dev -dbg"
+DEPCHAIN_POST = "-dev -dbg -doc"
DEPENDS = ""
RDEPENDS = ""
@@ -28,6 +28,7 @@ PACKAGES = "\
task-core-boot \
task-core-boot-dbg \
task-core-boot-dev \
+ task-core-boot-doc \
"
RDEPENDS_task-core-boot = "\
The doc-pkgs package group is defined, but some of the "plumbing" is missing to allow it to work like the dbg-pkgs and dev-pkgs. This patch adds the "plumbing" to allow you to specify doc-pkgs to install all the documentation packages that correspond to the other installed packages on the target file system in a similar manner to the dbg-pkgs. [Yocto #2614] Signed-off-by: Jason Wessel <jason.wessel@windriver.com> --- meta/classes/package.bbclass | 4 ++++ meta/classes/task.bbclass | 2 +- meta/conf/bitbake.conf | 2 +- meta/recipes-core/tasks/task-core-boot.bb | 1 + 4 files changed, 7 insertions(+), 2 deletions(-)