[oe-commits] [meta-openembedded] 16/20: freerdp: properly fix QA issue

git at git.openembedded.org git at git.openembedded.org
Thu Mar 3 12:55:02 UTC 2016


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

commit 773a038d4eb13961fcfbe5c1aacb8ac582437282
Author: Martin Jansa <Martin.Jansa at gmail.com>
AuthorDate: Thu Mar 3 13:54:11 2016 +0100

    freerdp: properly fix QA issue
    
    * without x11, wayland, directfb enabled there is no bindir directory
      so the error wasn't about empty /usr/bin/ being unpackaged, but there was
      /usr/bin binary which was winpr-makecert installed above, fix by creating
      the directory first
    
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-support/freerdp/freerdp_git.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta-oe/recipes-support/freerdp/freerdp_git.bb b/meta-oe/recipes-support/freerdp/freerdp_git.bb
index 4c81b57..339a053 100644
--- a/meta-oe/recipes-support/freerdp/freerdp_git.bb
+++ b/meta-oe/recipes-support/freerdp/freerdp_git.bb
@@ -59,13 +59,10 @@ PACKAGES_DYNAMIC += "^libfreerdp-plugin-.*"
 
 # we will need winpr-makecert to generate TLS certificates
 do_install_append () {
+    install -d ${D}${bindir}
     install -m755 winpr/tools/makecert/cli/winpr-makecert ${D}${bindir}
     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