Skip to contentSkip to conversation

procps.inc: Fix do_install for DISTRO=micro.

PATCH In review Graham Gower 2 participants 3 messages Nov 30, 2010 – Dec 1, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 procps.inc: Fix do_install for DISTRO=micro.

mv: cannot stat `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/procps-3.2.8-r12.1/image/bin/uptime': No such file or directory

---
 recipes/procps/procps.inc |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
recipes/procps/procps.inc +5 -2
index fbad8e7..4557596 100644
@@ -9,7 +9,7 @@ LICENSE = "GPL"
 DEPENDS = "ncurses"
 RDEPENDS_${PN} = "ncurses-terminfo"
 
-INC_PR = "r12"
+INC_PR = "r13"
 
 SRC_URI = "http://procps.sourceforge.net/procps-${PV}.tar.gz;name=tarball \
 	   file://sysctl.conf \
@@ -30,7 +30,10 @@ EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \
                 LDFLAGS="${LDFLAGS}" \
                 CURSES=-lncurses \
                 install='install -D' \
-                ldconfig=echo"
+                ldconfig=echo \
+                usr/bin=${D}${bindir}/ \
+                usr/proc/bin=${D}${bindir}/ \
+                "
 
 do_install_append () {
 	install -d ${D}${sysconfdir}/init.d
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Graham Gower

mv: cannot stat `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/procps-3.2.8-r12.1/image/bin/uptime': No such file or directory

recipes/procps/procps.inc EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \ · line 35

Quoted 2 lines
recipes/procps/procps.inc +2 -0
+                usr/bin=${D}${bindir}/ \
+                usr/proc/bin=${D}${bindir}/ \

Is the trailing "/" needed?

Mike

#2 lore raw
Quoted 6 lines · Michael Smith
Quoted 5 lines · Graham Gower

mv: cannot stat `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/procps-3.2.8-r12.1/image/bin/uptime':
No such file or directory

Quoted 8 lines
Quoted 1 line
Quoted 2 lines

+                usr/bin=${D}${bindir}/ \
+                usr/proc/bin=${D}${bindir}/ \

Is the trailing "/" needed?

Yes.

Quoted 3 lines

Mike

-Graham