[oe-commits] [meta-openembedded] branch master updated: freerdp: Fix QA warning when no binaries are built

git at git.openembedded.org git at git.openembedded.org
Sat Feb 27 19:45:23 UTC 2016


martin_jansa pushed a commit to branch master
in repository meta-openembedded.

The following commit(s) were added to refs/heads/master by this push:
       new  f7d9eef   freerdp: Fix QA warning when no binaries are built
f7d9eef is described below

commit f7d9eefb6f6dde0e94d4bfaa001bae8ea37f961f
Author: Martin Jansa <Martin.Jansa at gmail.com>
AuthorDate: Thu Feb 25 19:27:17 2016 +0100

    freerdp: Fix QA warning when no binaries are built
    
    * without x11 or wayland enabled from DISTRO_FEATURES there is nothing in
      /usr/bin and this empty directory causes QA error
    
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-support/freerdp/freerdp_git.bb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/freerdp/freerdp_git.bb b/meta-oe/recipes-support/freerdp/freerdp_git.bb
index c749b0c..4c81b57 100644
--- a/meta-oe/recipes-support/freerdp/freerdp_git.bb
+++ b/meta-oe/recipes-support/freerdp/freerdp_git.bb
@@ -60,8 +60,12 @@ PACKAGES_DYNAMIC += "^libfreerdp-plugin-.*"
 # we will need winpr-makecert to generate TLS certificates
 do_install_append () {
     install -m755 winpr/tools/makecert/cli/winpr-makecert ${D}${bindir}
-    rm -rf ${D}/${libdir}/cmake
-    rm -rf ${D}/${libdir}/freerdp
+    rm -rf ${D}${libdir}/cmake
+    rm -rf ${D}${libdir}/freerdp
+    # without x11, wayland, directfb enabled this directory will be empty
+    # causing QA error: ERROR: freerdp-1.2.5+gitrAUTOINC+62da9d28c6-r0 do_package: QA Issue: freerdp: Files/directories were installed but not shipped in any package:
+    #   /usr/bin
+    rmdir ${D}${bindir} --ignore-fail-on-non-empty
 }
 
 python populate_packages_prepend () {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list