[Angstrom-devel] [RFC] backport base_version_less_or_equal() (base.bbclass) from .dev to stable branch
Paul Sokolovsky
pmiscml at gmail.com
Wed Mar 12 19:11:43 CET 2008
Hello,
On Wed, 12 Mar 2008 19:01:03 +0100
Koen Kooi <koen at dominion.kabel.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bernhard Guillon schreef:
> | hi all,
> | because I want to add something like this [1] to task-base.bb to
> solve | the problem of including 2.6.21 kernel to Angstrom r9 simpad
> images. I | want to have base_version_less_or_equal() function
> backported to stable | branch.
> | What do you think?
> |
> | best regards
> | Bernhard Guillon
> |
> | 1 ${@base_version_less_or_equal('KERNEL_VERSION', '2.6.23',
> | 'kernel-module-aes', 'kernel-module-aes-generic', d)} "
>
> from mtn annotate classes/base.bbclass:
>
> ~ e10f95bb.. by pfalcon 2007-02-27: def base_less_or_equal(variable,
> checkvalue, truevalue, falsevalue, d):
> ~ : import bb
> ~ : if
> float(bb.data.getVar(variable,d,1)) <= float(checkvalue):
> ~ : return truevalue
> ~ : else:
> ~ : return falsevalue
>
Well, it's about base_version_less_or_equal() which indeed was added
recently. I hope Bernhard will look up exact revision to pluck.
>
>
> I didn't know the stable branch is over a year old now.....
[]
--
Best regards,
Paul mailto:pmiscml at gmail.com
More information about the Angstrom-distro-devel
mailing list