All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Geoffrey Levillain <geoffrey.levillain@smile.fr>,
	openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2 3/3] rm_work.bbclass: Do not remove fetching and install_overlay stamps
Date: Wed, 15 Feb 2017 20:46:03 -0800	[thread overview]
Message-ID: <1487220363.4999.7.camel@linuxfoundation.org> (raw)
In-Reply-To: <20170215173323.10466-4-geoffrey.levillain@smile.fr>

On Wed, 2017-02-15 at 18:33 +0100, Geoffrey Levillain wrote:
> In order to keep do_install_overlay to reexecute it's needed to keep
> stamps of fetching tasks.
> 
> Without that do_install_overlay would reexecute and do_image as well
> but
> do_image will crash since there is no rootfs.
> 
> Signed-off-by: Geoffrey Levillain <geoffrey.levillain@smile.fr>
> ---
>  meta/classes/rm_work.bbclass | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta/classes/rm_work.bbclass
> b/meta/classes/rm_work.bbclass
> index 054c93716e..c0e7c2a0a6 100644
> --- a/meta/classes/rm_work.bbclass
> +++ b/meta/classes/rm_work.bbclass
> @@ -71,6 +71,10 @@ do_rm_work () {
>                  i=dummy
>                  break
>                  ;;
> +            *do_fetch*|*do_unpack*|*do_patch*|*install_overlay*)
> +                i=dummy
> +                break
> +                ;;

This patch whitelists not just the install_overlay stamps but the
fetch, patch and unpack stamps for *everything* in all recipes? That
clearly isn't correct...

Cheers,

Richard




  reply	other threads:[~2017-02-16  4:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-15 17:33 [PATCH v2 0/3] Permit to install files from an overlay in images recipes Geoffrey Levillain
2017-02-15 17:33 ` [PATCH v2 1/3] image.bbclass: No need to force image licence on MIT Geoffrey Levillain
2017-02-15 17:33 ` [PATCH v2 2/3] image_overlay.bbclass: Add possibility to install overlays to image Geoffrey Levillain
2017-02-16  4:44   ` Richard Purdie
2017-02-17 10:42     ` Jérémy Rosen
2017-02-15 17:33 ` [PATCH v2 3/3] rm_work.bbclass: Do not remove fetching and install_overlay stamps Geoffrey Levillain
2017-02-16  4:46   ` Richard Purdie [this message]
2017-02-16  2:18 ` [PATCH v2 0/3] Permit to install files from an overlay in images recipes Gary Thomas
2017-02-17 10:45   ` Jérémy Rosen

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=1487220363.4999.7.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=geoffrey.levillain@smile.fr \
    --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.