summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
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 13:19:04 +0100
commit76c83f107d4a4688a879e30821ab70812052bbdc (patch)
tree7268e89d3caf88a838987f0ec943716fba8cf4e6 /meta/classes/rootfs_ipk.bbclass
parentc8afc79b5d3205355ad61d2589221bf8babe8395 (diff)
downloadopenembedded-core-contrib-76c83f107d4a4688a879e30821ab70812052bbdc.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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-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 13bd4bff234..cbc63f01824 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -127,10 +127,12 @@ list_installed_packages() {
}
get_package_filename() {
+ set +x
info=`opkg-cl ${IPKG_ARGS} info $1 | grep -B 7 -A 7 "^Status.* \(\(installed\)\|\(unpacked\)\)" || true`
name=`echo "${info}" | awk '/^Package/ {printf $2"_"}'`
name=$name`echo "${info}" | awk -F: '/^Version/ {printf $NF"_"}' | sed 's/^\s*//g'`
name=$name`echo "${info}" | awk '/^Archi/ {print $2".ipk"}'`
+ set -x
fullname=`find ${DEPLOY_DIR_IPK} -name "$name" || true`
if [ "$fullname" = "" ] ; then