From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] debianutils.inc: Fix do_install for DISTRO=micro.
Date: Wed, 01 Dec 2010 13:40:07 +1030 [thread overview]
Message-ID: <4CF5BC8F.7060704@gmail.com> (raw)
mv: `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/debianutils-2.30-r2/image/bin/run-parts.debianutils' and `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/debianutils-2.30-r2/image/bin/run-parts.debianutils' are the same file
Signed-off-by: Graham Gower <graham.gower@gmail.com>
---
recipes/debianutils/debianutils.inc | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/recipes/debianutils/debianutils.inc b/recipes/debianutils/debianutils.inc
index 9d32606..1ad766d 100644
--- a/recipes/debianutils/debianutils.inc
+++ b/recipes/debianutils/debianutils.inc
@@ -11,11 +11,13 @@ do_install_append() {
for app in ${D}${sbindir}/* ${D}${bindir}/*; do
mv $app $app.${PN}
done
- # Debian places some utils into ${base_bindir} as does busybox
- install -d ${D}${base_bindir}
- for app in run-parts.${PN} tempfile.${PN}; do
- mv ${D}${bindir}/$app ${D}${base_bindir}/$app
- done
+ if [ "${base_bindir}" != "${bindir}" ]; then
+ # Debian places some utils into ${base_bindir} as does busybox
+ install -d ${D}${base_bindir}
+ for app in run-parts.${PN} tempfile.${PN}; do
+ mv ${D}${bindir}/$app ${D}${base_bindir}/$app
+ done
+ fi
}
pkg_prerm_${PN} () {
--
1.7.1
next reply other threads:[~2010-12-01 3:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-01 3:10 Graham Gower [this message]
2010-12-01 4:31 ` [PATCH] debianutils.inc: Fix do_install for DISTRO=micro Chris Larson
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=4CF5BC8F.7060704@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.