From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] gzip_1.4.bb: Fix do_install for DISTRO=micro.
Date: Wed, 01 Dec 2010 13:01:23 +1030 [thread overview]
Message-ID: <4CF5B37B.9010508@gmail.com> (raw)
mv: `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/gzip-1.4-r3/image/bin/gunzip' and `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/gzip-1.4-r3/image/bin/gunzip' are the same file
Signed-off-by: Graham Gower <graham.gower@gmail.com>
---
recipes/gzip/gzip_1.4.bb | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/recipes/gzip/gzip_1.4.bb b/recipes/gzip/gzip_1.4.bb
index eb89f79..020e31a 100644
--- a/recipes/gzip/gzip_1.4.bb
+++ b/recipes/gzip/gzip_1.4.bb
@@ -19,10 +19,12 @@ alternatives = "gunzip gzip zcat"
do_install () {
autotools_do_install
# Move files into /bin (FHS)
- install -d ${D}${base_bindir}
- for file in ${D}${bindir}/*; do
- mv $file ${D}${base_bindir}/
- done
+ if [ "${base_bindir}" != "${bindir}" ]; then
+ install -d ${D}${base_bindir}
+ for file in ${D}${bindir}/*; do
+ mv $file ${D}${base_bindir}/
+ done
+ fi
}
do_install_append_pn-gzip () {
--
1.7.1
next reply other threads:[~2010-12-01 2:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-01 2:31 Graham Gower [this message]
2010-12-01 13:43 ` [PATCH] gzip_1.4.bb: Fix do_install for DISTRO=micro Michael Smith
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=4CF5B37B.9010508@gmail.com \
--to=graham.gower@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