Re: Overwrite a bblcass globally
On Tue, May 26, 2020 at 04:36:13PM +0200, Ayoub Zaki via lists.yoctoproject.org wrote:
Hi,BBPATH is what's used to locate bbclasses. It's defined in your
You can either make sure your layer is parsed before the one having the
original systemd.bbclass (in BBLAYERS of conf/bblayers.conf) or prepend
to BBPATH instead of appending.
Although... It's usually bad practice because it means that if I were to use
two layers doing the same thing (overriding the same bbclass), the behavior
is kind of undefined depending on which order they are parsed.
Ideally, you should contribute back the modifications to upstream
systemd.bbclass, that way, no need to duplicate it and override it from