Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH][meta-oe 9/9] zile: fix do_install
Date: Wed, 29 Mar 2017 11:16:43 +0200	[thread overview]
Message-ID: <20170329091643.32180-9-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <20170329091643.32180-1-Martin.Jansa@gmail.com>

* --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>
---
 meta-oe/recipes-support/zile/zile_2.4.11.bb | 4 ++--
 1 file 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
 inherit autotools pkgconfig
 
 do_install_append() {
-        rm -rf ${D}${libdir}/charset.alias
-        rmdir --ignore-fail-on-non-empty ${D}${libdir}
+    rm -rf ${D}${libdir}/charset.alias
+    rmdir --ignore-fail-on-non-empty ${D}${libdir} || true
 }
 
 PACKAGECONFIG ??= ""
-- 
2.12.2



      parent reply	other threads:[~2017-03-29  9:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-29  9:16 [PATCH][meta-oe 1/9] hwdata: use github instead of fedorahosted.org Martin Jansa
2017-03-29  9:16 ` [PATCH][meta-oe 2/9] mailcap: use pagure.org instead of retired fedorahosted.org Martin Jansa
2017-03-29  9:16 ` [PATCH][meta-oe 3/9] libqb: use github.com " Martin Jansa
2017-03-30  4:50   ` Khem Raj
2017-03-29  9:16 ` [PATCH][meta-oe 4/9] ttf-abyssinica: fix SRC_URI Martin Jansa
2017-03-29  9:16 ` [PATCH][meta-oe 5/9] ttf-liberation-sans-narrow: use pagure.org instead of retired fedorahosted.org Martin Jansa
2017-03-29  9:16 ` [PATCH][meta-oe 6/9] vboxguestdrivers: make sure that do_compile fails when some module failed to build Martin Jansa
2017-03-29  9:16 ` [PATCH][meta-oe 7/9] vboxguestdrivers: upgrade to 5.1.18 to fix compatibility with 4.10 kernel Martin Jansa
2017-03-29  9:16 ` [PATCH][meta-oe 8/9] tcsh, dt: blacklist because tcsh doesn't respect CC variable Martin Jansa
2017-03-29  9:16 ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170329091643.32180-9-Martin.Jansa@gmail.com \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox