[yocto] How do I use layers to replacing system configuration files?
Chris Tapp
opensource at keylevel.com
Sun Feb 20 10:23:40 PST 2011
On 20 Feb 2011, at 18:04, Gary Thomas wrote:
> You'll need a meta-new/packages/netbase/netbase_4.44.bbappend file
> which
> tells bitbake where to find your override files. I do this all the
> time,
> for example, I have a board with two targets:
> $ tree meta-ppc/packages/netbase/
> meta-ppc/packages/netbase/
> ├── netbase-4.44
> │ ├── cobra
> │ │ ├── interfaces
> │ └── ppc8379
> │ ├── interfaces
> └── netbase_4.44.bbappend
> $ cat meta-ppc/packages/netbase/netbase_4.44.bbappend
> THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
> FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}-${PV}"], d)}:"
Thanks. I was just looking at .bbappend when your message arrived ;-)
Section 4.8 of the Poky Reference Manual shows an even easier way of
doing what I need. All the .bbappend has is:
FILESEXTRAPATHS := "${THISDIR}/${PN}"
Chris
More information about the yocto
mailing list