[meta-baryon][PATCH 1/4] proftpd: remove unused directories after install


Kevin Strasser <kevin.strasser@...>
 

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.strasser@...>
---
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

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.