[oe] [PATCH 26/27] mplayer2: cleanup empty directories
Armin Kuster
akuster808 at gmail.com
Sat Dec 27 17:22:13 UTC 2014
From: "Belal, Awais" <Awais_Belal at mentor.com>
The mplayer "make install" phase leaves an empty
/usr/lib directory seemingly regardless of the setting
of libdir. Remove it to avoid a packaging warning.
Signed-off-by: Drew Moseley <drew_moseley at mentor.com>
Signed-off-by: Awais Belal <awais_belal at mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
index 446562c..7c04ff1 100644
--- a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
@@ -141,4 +141,5 @@ do_install() {
install ${S}/etc/input.conf ${D}/usr/etc/mplayer/
install ${S}/etc/example.conf ${D}/usr/etc/mplayer/
install ${S}/etc/codecs.conf ${D}/usr/etc/mplayer/
+ [ -e ${D}/usr/lib ] && rmdir ${D}/usr/lib
}
--
1.9.1
More information about the Openembedded-devel
mailing list