Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Petr Štetiar" <ynezz@true.cz>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] image_types.bbclass: fix link creation	failure if the target already exists
Date: Fri, 2 Mar 2012 23:01:38 +0100	[thread overview]
Message-ID: <20120302220138.GI21882@ibawizard.net> (raw)
In-Reply-To: <1330694440.18076.1.camel@ted>

Richard Purdie <richard.purdie@linuxfoundation.org> [2012-03-02 13:20:40]:

> Thanks, that helps a lot. I'd tested "tar tar" and "tar.gz tar.bz2" but
> not that :). I think something like:
> 
> diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
> index 681571d..1bf59a5 100644
> --- a/meta/classes/image_types.bbclass
> +++ b/meta/classes/image_types.bbclass
> @@ -17,7 +17,8 @@ def get_imagecmds(d):
>                      types.append(basetype)
>                  if basetype not in cimages:
>                      cimages[basetype] = []
> -                cimages[basetype].append(ctype)
> +                if ctype not in cimages[basetype]:
> +                    cimages[basetype].append(ctype)
>                  break
>          if not basetype and type not in types:
>              types.append(type)
> 
> should fix this?

It's ok now. Thanks.

-- ynezz



      reply	other threads:[~2012-03-02 22:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-29 20:33 [PATCH] image_types.bbclass: fix link creation failure if the target already exists Petr Štetiar
2012-03-01 15:50 ` Richard Purdie
2012-03-02 12:29   ` Andreas Müller
2012-03-02 12:38     ` Richard Purdie
2012-03-02 12:48       ` Andreas Müller
2012-03-02 13:20         ` Richard Purdie
2012-03-02 22:01           ` Petr Štetiar [this message]

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=20120302220138.GI21882@ibawizard.net \
    --to=ynezz@true.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox