* [PATCH] debianutils.inc: Fix do_install for DISTRO=micro.
@ 2010-12-01 3:10 Graham Gower
2010-12-01 4:31 ` Chris Larson
0 siblings, 1 reply; 2+ messages in thread
From: Graham Gower @ 2010-12-01 3:10 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] debianutils.inc: Fix do_install for DISTRO=micro.
2010-12-01 3:10 [PATCH] debianutils.inc: Fix do_install for DISTRO=micro Graham Gower
@ 2010-12-01 4:31 ` Chris Larson
0 siblings, 0 replies; 2+ messages in thread
From: Chris Larson @ 2010-12-01 4:31 UTC (permalink / raw)
To: openembedded-devel
On Tue, Nov 30, 2010 at 8:10 PM, Graham Gower <graham.gower@gmail.com> wrote:
> 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>
Acked-by: Chris Larson <chris_larson@mentor.com>
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-01 4:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-01 3:10 [PATCH] debianutils.inc: Fix do_install for DISTRO=micro Graham Gower
2010-12-01 4:31 ` Chris Larson
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.