summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2016-02-25 19:27:17 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2016-02-27 20:46:41 +0100
commitf7d9eefb6f6dde0e94d4bfaa001bae8ea37f961f (patch)
tree66070f147ae6492471ff4e8c70eaa6981f93d299 /meta-oe
parentefa3ff1462b9d2609526d8f25fbd20866088c346 (diff)
downloadmeta-openembedded-f7d9eefb6f6dde0e94d4bfaa001bae8ea37f961f.tar.gz
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@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/freerdp/freerdp_git.bb8
1 files 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 c749b0c05..4c81b5771 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-.*"
60# we will need winpr-makecert to generate TLS certificates 60# we will need winpr-makecert to generate TLS certificates
61do_install_append () { 61do_install_append () {
62 install -m755 winpr/tools/makecert/cli/winpr-makecert ${D}${bindir} 62 install -m755 winpr/tools/makecert/cli/winpr-makecert ${D}${bindir}
63 rm -rf ${D}/${libdir}/cmake 63 rm -rf ${D}${libdir}/cmake
64 rm -rf ${D}/${libdir}/freerdp 64 rm -rf ${D}${libdir}/freerdp
65 # without x11, wayland, directfb enabled this directory will be empty
66 # 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:
67 # /usr/bin
68 rmdir ${D}${bindir} --ignore-fail-on-non-empty
65} 69}
66 70
67python populate_packages_prepend () { 71python populate_packages_prepend () {