Re: [yocto] overriding a class in custom layer

2012-01-25 Thread Paul Eggleton
On Wednesday 25 January 2012 11:03:16 Joshua Immanuel wrote: On Tue, 2012-01-24 at 16:17 +, Paul Eggleton wrote: I'd also say, what is in the classes is intended to work for everyone, so if there's something in the core classes that is not working well for your situation we'd really

Re: [yocto] overriding a class in custom layer

2012-01-25 Thread Chris Larson
On Wed, Jan 25, 2012 at 8:56 AM, Paul Eggleton paul.eggle...@linux.intel.com wrote: On Wednesday 25 January 2012 11:03:16 Joshua Immanuel wrote: On Tue, 2012-01-24 at 16:17 +, Paul Eggleton wrote: I'd also say, what is in the classes is intended to work for everyone, so if there's

[yocto] overriding a class in custom layer

2012-01-24 Thread Joshua Immanuel
Hello all, What is the preferred way of overriding an existing class in the 'meta' layer. I tried to add the existing class (say image_types.bbclass) to my custom layer and did some modifications to it. But while trying to build the image, only the original class gets inherited instead of

Re: [yocto] overriding a class in custom layer

2012-01-24 Thread Christopher Larson
Ensure that your layer is before the other in BBLAYERS. -- Christopher Larson On Tuesday, January 24, 2012 at 3:47 AM, Joshua Immanuel wrote: Hello all, What is the preferred way of overriding an existing class in the 'meta' layer. I tried to add the existing class (say

Re: [yocto] overriding a class in custom layer

2012-01-24 Thread Joshua Immanuel
Hello Christopher, Thanks for the reply. On Tue, 2012-01-24 at 07:07 -0700, Christopher Larson wrote: Ensure that your layer is before the other in BBLAYERS. As you mentioned reordering BBLAYERS to have my custom layer before 'meta' layer solved the issue. I was of the notion that setting

Re: [yocto] overriding a class in custom layer

2012-01-24 Thread Paul Eggleton
On Tuesday 24 January 2012 07:32:47 Christopher Larson wrote: Unfortunately, BBFILE_PRIORITY only affects the choice of what *recipes* to use between the different layers, not config files or classes. The latter are found via BBPATH, which is incrementally appended to by each layer.conf. This

Re: [yocto] overriding a class in custom layer

2012-01-24 Thread Christopher Larson
On Tuesday, January 24, 2012 at 9:17 AM, Paul Eggleton wrote: On Tuesday 24 January 2012 07:32:47 Christopher Larson wrote: I'd also say, what is in the classes is intended to work for everyone, so if there's something in the core classes that is not working well for your situation

Re: [yocto] overriding a class in custom layer

2012-01-24 Thread Joshua Immanuel
Hello Paul, Thanks for the reply. On Tue, 2012-01-24 at 16:17 +, Paul Eggleton wrote: I'd also say, what is in the classes is intended to work for everyone, so if there's something in the core classes that is not working well for your situation we'd really like to hear about it -