]> code.ossystems Code Review - openembedded-core.git/commitdiff
bdwgc: installed-vs-shipped for nativesdk
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 7 Apr 2016 07:34:31 +0000 (00:34 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Apr 2016 07:00:42 +0000 (08:00 +0100)
Fixed:
ERROR: nativesdk-bdwgc-7.4.2-r0 do_package: QA Issue: nativesdk-bdwgc: Files/directories were installed but not shipped in any package:
  /opt/poky/2.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/share
  /opt/poky/2.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/share/gc
  /opt/poky/2.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/share/gc/porting.html
  /opt/poky/2.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/share/gc/gcinterface.html
  /opt/poky/2.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/share/gc/gcdescr.html
  /opt/poky/2.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/share/gc/README.solaris2

[snip]

This was caused by hardcode of datadir.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/bdwgc/bdwgc_7.4.2.bb

index efa463254f14bcca9099e6022d92d0ac56444bf7..8d4dab399b91cebe7bf322cf0c9a689e14bafe9b 100644 (file)
@@ -28,7 +28,7 @@ SRC_URI = "git://github.com/ivmai/bdwgc.git;branch=release-7_4 \
            file://0002-Altera-NIOS2-support.patch \
           "
 
-FILES_${PN}-doc = "/usr/share"
+FILES_${PN}-doc = "${datadir}"
 
 S = "${WORKDIR}/git"