Skip to contentSkip to conversation

freerdp: properly fix QA issue

PATCH New Martin Jansa 1 participant 1 message Mar 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 meta-oe/recipes-support/freerdp/freerdp_git.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta-oe/recipes-support/freerdp/freerdp_git.bb +1 -4
index 4c81b57..339a053 100644
@@ -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 () {
Signature · 1 line
2.7.2