Some of the directories that are created during installation are left
empty and not shipped in the image.

Removing them clears up the following QA warning:

"WARNING: QA Issue: proftpd: Files/directories were installed but not shipped
  /usr/libexec
  /usr/lib/proftpd
  /usr/share/locale"

Signed-off-by: Kevin Strasser <kevin.stras...@linux.intel.com>
---
 recipes-extended/proftpd/proftpd_1.3.4b.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-extended/proftpd/proftpd_1.3.4b.bb 
b/recipes-extended/proftpd/proftpd_1.3.4b.bb
index b7e201b..45e73d9 100644
--- a/recipes-extended/proftpd/proftpd_1.3.4b.bb
+++ b/recipes-extended/proftpd/proftpd_1.3.4b.bb
@@ -35,6 +35,7 @@ do_configure () {
 
 do_install () {
     oe_runmake DESTDIR=${D} install
+    rmdir ${D}${libexecdir} ${D}${libdir}/proftpd ${D}${datadir}/locale
 }
 
 pkg_postinst () {
-- 
1.7.9.5

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to