All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] lib/oe: Add sstatesig, OE specific signature generator classes
Date: Fri, 20 Jan 2012 18:32:42 +0000	[thread overview]
Message-ID: <1327084362.8805.8.camel@ted> (raw)
In-Reply-To: <1327076359.4268.6.camel@ted>

On Fri, 2012-01-20 at 16:19 +0000, Richard Purdie wrote:
> +
> +class SignatureGeneratorOEBasic(bb.siggen.SignatureGeneratorBasic):
> +    name = "OEBasic"
> +    def init_rundepcheck(self, data):
> +        pass
> +    def rundep_check(self, fn, recipename, task, dep, depname):
> +        return sstate_rundepfilter(fn, recipename, task, dep, depname)
> +
> +class SignatureGeneratorOEBasicHash(bb.siggen.SignatureGeneratorBasicHash):
> +    name = "OEBasicHash"
> +    def init_rundepcheck(self, data):
> +        pass
> +    def rundep_check(self, fn, task, dep, dataCache):

This should be:

def rundep_check(self, fn, recipename, task, dep, depname):

> +        return sstate_rundepfilter(fn, recipename, task, dep, depname)
> +
> +# Insert these classes into siggen's namespace so it can see and select them
> +bb.siggen.SignatureGeneratorOEBasic = SignatureGeneratorOEBasic
> +bb.siggen.SignatureGeneratorOEBasicHash = SignatureGeneratorOEBasicHash

Cheers,

Richard




      reply	other threads:[~2012-01-20 18:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-20 16:19 [PATCH] lib/oe: Add sstatesig, OE specific signature generator classes Richard Purdie
2012-01-20 18:32 ` Richard Purdie [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=1327084362.8805.8.camel@ted \
    --to=richard.purdie@linuxfoundation.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.