>>>>> "Russell" == Russell Senior <russ...@personaltelco.net> writes:
>>>>> "Martin" == Martin Jansa <martin.ja...@gmail.com> writes: >>> I'm not sure why. ;-) Martin> If you look what's in grep ERR log.do_rootfs* grep Fail Martin> log.do_rootfs* you'll see some filenames in "Source: " field Martin> of opkg-cl output. Martin> It's true that this echo calls put more opkg-cl output to Martin> log.do_rootfs then when it was calling opkg-cl 3 times, Martin> because of set -x :/. Martin> I'm sending patch to oe-core right now, please test it. Martin> http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/020313.html Russell> I am afraid that doesn't fix it. Here is my log.do_rootfs Russell> https://personaltelco.net/~russell/log.do_rootfs.10954 Russell> the grep -i for 'ERR' and 'Fail' match a bunch of lines ;-) Looking closer, the grep is actually case-sensitive, and was matching a dozen or so "Source:" lines. Moving the set +x up one line fixes it. diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index 13bd4bf..cbc63f0 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 -- Russell Senior, President russ...@personaltelco.net _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel