[oe] [RFC][PATCH] Merging classes with poky

Richard Purdie rpurdie at rpsys.net
Sat Sep 1 13:31:15 UTC 2007


On Fri, 2007-08-31 at 13:29 +0200, Koen Kooi wrote:
> ---
> classes/base.bbclass        0b7bd90cd81cad21be3a5562472533d725e69760
> +++
> classes/base.bbclass        e9e18b1810f9cae7274bc8d18014c2ef9f972911
> @@ -374,6 +374,18 @@ oe_machinstall() {
>         fi
>  }
>  
> +addtask showdata
> +do_showdata[nostamp] = "1"
> +python do_showdata() {
> +       import sys
> +       # emit variables and shell functions
> +       bb.data.emit_env(sys.__stdout__, d, True)
> +       # emit the metadata which isnt valid shell
> +       for e in d.keys():
> +           if bb.data.getVarFlag(e, 'python', d):
> +               sys.__stdout__.write("\npython %s () {\n%s}\n" % (e,
> bb.data.getVar(e, d, 1)))
> +}
> +
>  addtask listtasks
>  do_listtasks[nostamp] = "1"
>  python do_listtasks() { 

I haven't looked closely at the diff yet but the above should not be
merged back in. I removed it from OE.dev since its broken and the same
(correct) information can be obtained with "bitbake -e". I will remove
it from Poky too in due course.

Cheers,

Richard






More information about the Openembedded-devel mailing list