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

Koen Kooi koen at dominion.kabel.utwente.nl
Sat Sep 1 17:42:42 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Purdie schreef:
> 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.

Updated diffs at http://dominion.kabel.utwente.nl/koen/OE/poky/

Changes:

* remove showdata
* make rootfs_deb.bbclass work with current .dev



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFG2aSSMkyGM64RGpERAmubAJ4qhpYEO8BNICcaZ9IVwmwFoF75ggCfcwZs
x3YWWBfmwBpXFxBHbnwIgFI=
=qKfx
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list