diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-29 11:08:55 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-31 13:26:05 +0200 |
commit | b8368598aed3e07cfb638b537e409bd0b3692df9 (patch) | |
tree | d055ae192ca2edf533098b315aa52ca073d504fd | |
parent | 385cb885301fa34ce08626fe29ad89a866c2d5c4 (diff) | |
download | meta-openembedded-b8368598aed3e07cfb638b537e409bd0b3692df9.tar.gz |
zile: fix do_install
* --ignore-fail-on-non-empty works when the directory isn't empty, but still reports
failure when the directory doesn't exist at all, like in:
http://errors.yoctoproject.org/Errors/Details/138248/
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/zile/zile_2.4.11.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/zile/zile_2.4.11.bb b/meta-oe/recipes-support/zile/zile_2.4.11.bb index 05a6afbe9..d663f44b9 100644 --- a/meta-oe/recipes-support/zile/zile_2.4.11.bb +++ b/meta-oe/recipes-support/zile/zile_2.4.11.bb | |||
@@ -15,8 +15,8 @@ SRC_URI[sha256sum] = "1fd27bbddc61491b1fbb29a345d0d344734aa9e80cfa07b02892eedf83 | |||
15 | inherit autotools pkgconfig | 15 | inherit autotools pkgconfig |
16 | 16 | ||
17 | do_install_append() { | 17 | do_install_append() { |
18 | rm -rf ${D}${libdir}/charset.alias | 18 | rm -rf ${D}${libdir}/charset.alias |
19 | rmdir --ignore-fail-on-non-empty ${D}${libdir} | 19 | rmdir --ignore-fail-on-non-empty ${D}${libdir} || true |
20 | } | 20 | } |
21 | 21 | ||
22 | PACKAGECONFIG ??= "" | 22 | PACKAGECONFIG ??= "" |