[OE-core] [PATCH] lib/oe: Add sstatesig, OE specific signature generator classes
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Jan 20 18:32:42 UTC 2012
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
More information about the Openembedded-core
mailing list