Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/5] glibc-package.inc: Remove warnings about unpacked directories
Date: Tue, 28 Jan 2020 15:16:40 +0000	[thread overview]
Message-ID: <20200128151643.9711-2-richard.purdie@linuxfoundation.org> (raw)
In-Reply-To: <20200128151643.9711-1-richard.purdie@linuxfoundation.org>

If documemtation generation is disabled, the recipe throws warnings about
unpackaged files. Avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-core/glibc/glibc-package.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
index ede9e9b9096..d2667f54a11 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -213,6 +213,8 @@ stash_locale_cleanup () {
 	rm -rf $cleanupdir${libdir}/gconv
 	rm -rf $cleanupdir${localedir}
 	rm -rf $cleanupdir${datadir}/locale
+	rmdir --ignore-fail-on-non-empty $cleanupdir${datadir}
+
 	if [ "${libdir}" != "${exec_prefix}/lib" ] && [ "${root_prefix}/lib" != "${exec_prefix}/lib" ]; then
 		if [ -d "$cleanupdir${exec_prefix}/lib" ]; then
 			if [ -z "${ARCH_DYNAMIC_LOADER}" -o \
-- 
2.20.1



  reply	other threads:[~2020-01-28 15:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-28 15:16 [PATCH 1/5] bc: Use texinfo class Richard Purdie
2020-01-28 15:16 ` Richard Purdie [this message]
2020-01-28 15:16 ` [PATCH 3/5] texinfo/texinfo-dummy-native: Drop native path prefix Richard Purdie
2020-01-29  2:00   ` Khem Raj
2020-01-29 11:59     ` Richard Purdie
2020-01-29 16:02       ` Khem Raj
2020-01-28 15:16 ` [PATCH 4/5] texinfo: Only build texinfo when api-docs enabled Richard Purdie
2020-01-28 15:16 ` [PATCH 5/5] bitbake.conf/sanity: Drop makeinfo as being required on buildhost Richard Purdie
2020-01-28 15:58 ` [PATCH 1/5] bc: Use texinfo class Jacob Kroon
2020-01-28 16:18   ` Richard Purdie

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=20200128151643.9711-2-richard.purdie@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@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