All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCHv2] rootfs_ipk: don't echo opkg-cl output to log.do_rootfs
Date: Fri, 30 Mar 2012 14:10:51 -0400	[thread overview]
Message-ID: <20120330181051.GB5488@denix.org> (raw)
In-Reply-To: <1333104939-25404-1-git-send-email-Martin.Jansa@gmail.com>

On Fri, Mar 30, 2012 at 12:55:39PM +0200, Martin Jansa wrote:
> * 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>

This one looks better and it does not change the regex string, like the patch 
sent to bitbake-devel...

Acked-by: Denys Dmytriyenko <denys@ti.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..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
> -- 
> 1.7.8.5
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



  reply	other threads:[~2012-03-30 18:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30  9:50 [PATCH] rootfs_ipk: don't echo opkg-cl output to log.do_rootfs Martin Jansa
2012-03-30 10:42 ` Martin Jansa
2012-03-30 10:55 ` [PATCHv2] " Martin Jansa
2012-03-30 18:10   ` Denys Dmytriyenko [this message]
2012-03-30 18:21     ` Koen Kooi
2012-04-03 23:23   ` Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120330181051.GB5488@denix.org \
    --to=denis@denix.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.