[oe] [meta-oe][PATCH 1/2] zsh: Delete ${D}/usr if empty
Khem Raj
raj.khem at gmail.com
Wed Aug 29 03:17:19 UTC 2018
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-shells/zsh/zsh_5.4.2.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb b/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb
index 100c449f2b..3aab65bf5b 100644
--- a/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb
+++ b/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb
@@ -49,6 +49,7 @@ do_configure () {
do_install_append () {
rm -fr ${D}/usr/share
+ rmdir --ignore-fail-on-non-empty ${D}/usr
}
pkg_postinst_${PN} () {
--
2.18.0
More information about the Openembedded-devel
mailing list