[OE-core] [PATCH] rootfs_ipk: don't echo opkg-cl output to log.do_rootfs
Martin Jansa
martin.jansa at gmail.com
Fri Mar 30 09:50:01 UTC 2012
* log_check can find some files with ERR or Fail substring e.g. in "Source: " field
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta/classes/rootfs_ipk.bbclass | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 13bd4bf..8685fa3 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -128,9 +128,11 @@ list_installed_packages() {
get_package_filename() {
info=`opkg-cl ${IPKG_ARGS} info $1 | grep -B 7 -A 7 "^Status.* \(\(installed\)\|\(unpacked\)\)" || true`
+ set +x
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
--
1.7.8.5
More information about the Openembedded-core
mailing list