On Thu, 27 Jun 2024 at 15:28, Martin Jansa <martin.ja...@gmail.com> wrote:
> On Thu, Jun 27, 2024 at 4:23 PM Richard Purdie via > lists.yoctoproject.org > <richard.purdie=linuxfoundation....@lists.yoctoproject.org> wrote: > > > > On Thu, 2024-06-27 at 13:35 +0100, Mark Corbin via > > lists.yoctoproject.org wrote: > > > Hello > > > > > > I'm currently updating my project from Kirkstone to Scarthgap and > > > have run into an issue with bbclass file priorities. > > > > > > We are using our own modified 'meta-rust' layer, but rust recipes are > > > inheriting the 'cargo.bbclass' file from 'openembedded- > > > core/meta/classes-recipe' directory even though the 'meta-rust' layer > > > has a higher priority. This wasn't an issue under Kirkstone. > > > > > > Is there any way to ensure that my 'meta-rust' classes are used by > > > default? > > > > I'd just note that the behaviour hasn't changed and that inherits > > search BBPATH for the class. I suspect your BBPATH ordering has changed > > or needs tweaking to do what you expect. > > Priority didn't change, but to use cargo.bbclass from your meta-rust > layer, then you need to move it from classes to classes-recipe as all > other "overlayed" bbclasses you might have after they were moved to > different subdirectories in oe-core with: > > https://git.openembedded.org/openembedded-core/commit/?id=f5c128008365e141082c129417eb72d2751e8045 > Thanks Martin, moving the overlayed classes to 'classes-recipe' solved the problem. -- *Mark Corbin* Senior Software Engineer | lunarenergy.com <https://www.lunarenergy.com> | LinkedIn <https://www.linkedin.com/company/lunar-energy> | Instagram <https://www.instagram.com/the_lunarenergy/> [image: Lunar Energy Logo] -- C2:Restricted unless otherwise stated. -- Lunar Energy Limited is a company registered in England and Wales, authorised and regulated by the Financial Conduct Authority under reference number 767876. Company registration number: 05631091. Registered office: 55 Baker Street, London, England, W1U 7EU
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63413): https://lists.yoctoproject.org/g/yocto/message/63413 Mute This Topic: https://lists.yoctoproject.org/mt/106907674/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-