Skip to content

meta-rust-bin prepends itself to BBPATH #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
taamrooz opened this issue Feb 27, 2025 · 0 comments
Open

meta-rust-bin prepends itself to BBPATH #205

taamrooz opened this issue Feb 27, 2025 · 0 comments

Comments

@taamrooz
Copy link

I noticed this while trying to mitigate #204. The current conf/layer.conf has the following line:

BBPATH =. "${LAYERDIR}:"

According to the BitBake documentation =. means to prepend a string without a space. Meaning that meta-rust-bin puts itself in front of other layers, even though the user may have ordered these layers differently.

Yocto still has no proper mechanism to patch/override .bbclass files, so we're stuck having to create a layer and put it at the top of bblayers.conf. https://yocto.yoctoproject.narkive.com/qcV9UXm4/overriding-a-class-in-custom-layer

Looking at previous issues, this seems to have been done in order to get things working for Honister: #108. #123

Would it be possible to change things back to the default BitBake has for layer.conf files?

BBPATH .= ":${LAYERDIR}"

https://docs.yoctoproject.org/5.1.2/bsp-guide/bsp.html#layer-configuration-file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant