Hi,

Looks good for me i tested with rpm and deb package_classes.

Cheers,
    alimon

On 08/06/15 06:10, Pau Espin Pedrol wrote:
Signed-off-by: Pau Espin Pedrol <[email protected]>
Acked-by: Aníbal Limón <[email protected]>
---
  meta/recipes-graphics/mesa/mesa.inc | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 96313b5..f88b2a4 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -99,6 +99,11 @@ do_install_append () {
# it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used
      rm -f ${D}${sysconfdir}/drirc
+
+    # /etc is sometimes left as an empty directory and it ends up into 'mesa' 
package, which is then a non-empty package
+    if [ -d ${D}${sysconfdir} ]; then
+        rmdir --ignore-fail-on-non-empty ${D}${sysconfdir}
+    fi
  }
# For the packages that make up the OpenGL interfaces, inject variables so that

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to