require *.bbappend
Hi
I have the following use case:
In my working layer I would like to have a recipe adding functionality to a recipe from another layer (e.g systemd-image.bb from angstrom) with a different name ( -> no bbappend ). How about
* create systemd-image.bbapend with just 'FILESEXTRAPATHS := "${THISDIR}"' to get it into the scope of my layer
* create a recipe which contains 'require systemd-image.bbappend'
Currently parser complains that systemd-image.bbappend is not a BitBake file.
Would a modification be possible or is there another way to solve?
Andreas
Quoted 8 lines · Andreas Müller
Hi
I have the following use case:
In my working layer I would like to have a recipe adding functionality to a recipe from another layer (e.g systemd-image.bb from angstrom) with a different name ( -> no bbappend ). How about
Quoted 5 lines
* create systemd-image.bbapend with just 'FILESEXTRAPATHS := "${THISDIR}"' to get it into the scope of my layer
* create a recipe which contains 'require systemd-image.bbappend'Currently parser complains that systemd-image.bbappend is not a BitBake file.
I think this should work and the issue you're seeing is that require wants a relative PATH from BBPATH.
i.e. require recipes-images/angstrom/systemd-image.bb
Cheers,
Joshua
Signature · 3 lines
Joshua Lock
Yocto Project "Johannes factotum"
Intel Open Source Technology CentreQuoted 13 lines · Joshua Lock
Quoted 12 lines · Andreas Müller
Hi
I have the following use case:
In my working layer I would like to have a recipe adding functionality to a recipe from another layer (e.g systemd-image.bb from angstrom) with a different name ( -> no bbappend ). How about
* create systemd-image.bbapend with just 'FILESEXTRAPATHS := "${THISDIR}"' to get it into the scope of my layer
* create a recipe which contains 'require systemd-image.bbappend'
Quoted 8 lines
Quoted 2 lines
Currently parser complains that systemd-image.bbappend is not a BitBake file.
I think this should work and the issue you're seeing is that require wants a relative PATH from BBPATH.
i.e. require recipes-images/angstrom/systemd-image.bb
AArgh - thanks for helping me out of quirks by such simple solution :)
Andreas