From: Michael Smith <msmith@cbnco.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] gzip_1.4.bb: Fix do_install for DISTRO=micro.
Date: Wed, 01 Dec 2010 08:43:17 -0500 [thread overview]
Message-ID: <4CF650F5.6050400@cbnco.com> (raw)
In-Reply-To: <4CF5B37B.9010508@gmail.com>
Graham Gower wrote:
> 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>
Acked-by: Michael Smith <msmith@cbnco.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 () {
prev parent reply other threads:[~2010-12-01 13:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-01 2:31 [PATCH] gzip_1.4.bb: Fix do_install for DISTRO=micro Graham Gower
2010-12-01 13:43 ` Michael Smith [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=4CF650F5.6050400@cbnco.com \
--to=msmith@cbnco.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