summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-03-30 12:55:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-30 17:20:23 +0100
commitdebd5d5bb1eba943830e1cbf3753712bbaa2ce35 (patch)
tree047d704b0c3b59dfa159549108eeadd1a9ea1852 /meta/classes
parent525275dcfdc1549e26e5390c0d61111fba31a2ba (diff)
downloadpoky-debd5d5bb1eba943830e1cbf3753712bbaa2ce35.tar.gz
rootfs_ipk: don't echo opkg-cl output to log.do_rootfs
* log_check can find some files with ERR or Fail substring e.g. in "Source: " field (From OE-Core rev: 76c83f107d4a4688a879e30821ab70812052bbdc) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rootfs_ipk.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 13bd4bff23..cbc63f0182 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -127,10 +127,12 @@ list_installed_packages() {
127} 127}
128 128
129get_package_filename() { 129get_package_filename() {
130 set +x
130 info=`opkg-cl ${IPKG_ARGS} info $1 | grep -B 7 -A 7 "^Status.* \(\(installed\)\|\(unpacked\)\)" || true` 131 info=`opkg-cl ${IPKG_ARGS} info $1 | grep -B 7 -A 7 "^Status.* \(\(installed\)\|\(unpacked\)\)" || true`
131 name=`echo "${info}" | awk '/^Package/ {printf $2"_"}'` 132 name=`echo "${info}" | awk '/^Package/ {printf $2"_"}'`
132 name=$name`echo "${info}" | awk -F: '/^Version/ {printf $NF"_"}' | sed 's/^\s*//g'` 133 name=$name`echo "${info}" | awk -F: '/^Version/ {printf $NF"_"}' | sed 's/^\s*//g'`
133 name=$name`echo "${info}" | awk '/^Archi/ {print $2".ipk"}'` 134 name=$name`echo "${info}" | awk '/^Archi/ {print $2".ipk"}'`
135 set -x
134 136
135 fullname=`find ${DEPLOY_DIR_IPK} -name "$name" || true` 137 fullname=`find ${DEPLOY_DIR_IPK} -name "$name" || true`
136 if [ "$fullname" = "" ] ; then 138 if [ "$fullname" = "" ] ; then