[yocto] netbase_4.47.bbappend
Tomas Frydrych
tf+lists.yocto at r-finger.com
Mon Sep 3 11:58:14 PDT 2012
Hi,
On 03/09/12 19:03, Raul Rosetto Munoz wrote:
> in my netbase_4.47.bbappend file i have this:
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/netbase-4.47"
I think you are missing a trailing ':' here, so your path is getting
merged together with whatever is already there (probably the path added
by the bbappend in meta-yocto, i.e., try
FILESEXTRAPATHS_prepend := "${THISDIR}/netbase-4.47:"
> SRC_URI_append = "file://interfaces"
You don't need this; the base recipe already has this, simply modifying
the FILESEXTRAPATHS is enough.
> do_install_append () {
> install -m 644 ${WORKDIR}/interfaces ${D}/${sysconfdir}/network/
> }
Similarly, you do not needs this either, the base do_install() method
already does this.
But if this interfaces file is for a specific machine, you might want to
consider putting your interfaces file into a machine specific location,
i.e.,
netbase-4.47/<some machine>/interfaces
This will ensure the interfaces file is only used for that specific
machine (you do not need to make any other changes in the bb file, this
happens by some clever magic automatically); see how this is done in
meta/recipes-core/netbase for the various qemu machines.
Tomas
More information about the yocto
mailing list