[yocto] netbase_4.47.bbappend

Raul Rosetto Munoz munoz0raul at gmail.com
Mon Sep 3 11:03:16 PDT 2012


Hello,

I'm try to create my inferface file to netbase.

I have in the poky folder this files

raul at phi04:/home/prjs/poky$ find . -name "*netbase*"
./meta/recipes-core/netbase
./meta/recipes-core/netbase/netbase-4.47
./meta/recipes-core/netbase/netbase_4.47.bb
./meta-yocto/recipes-core/netbase
./meta-yocto/recipes-core/netbase/netbase_4.47.bbappend
./meta-yocto/recipes-core/netbase/netbase-4.47

But I want to create my bbappend file in the meta-fsl-arm, because here I
have my recipes that I'm change what I want.

raul at phi04:/home/prjs/newcom0001/philinux/meta-fsl-arm$ ls
classes  conf  README  recipes-bsp  recipes-core  recipes-graphics
 recipes-kernel  recipes-multimedia  recipes-phi  recipes-qt

In the folder recipes-phi I have some things that I'm changed..

raul at phi04:/home/prjs/newcom0001/philinux/meta-fsl-arm/recipes-phi$ ls
ddclient  netbase  ppp

And finaly in the netbase folder:

raul at phi04:/home/prjs/newcom0001/philinux/meta-fsl-arm/recipes-phi/netbase$
ls
netbase-4.47  netbase_4.47.bbappend

I try to create this files but it never result in my inferfaces file in
/etc/netwok/interfaces.

in my netbase_4.47.bbappend file i have this:

FILESEXTRAPATHS_prepend := "${THISDIR}/netbase-4.47"

PRINC = "1"
SRC_URI_append  = "file://interfaces"

do_install_append () {
        install -m 644 ${WORKDIR}/interfaces ${D}/${sysconfdir}/network/
}

and in the folder netbase-4.47:

raul at phi04:/home/prjs/newcom0001/philinux/meta-fsl-arm/recipes-phi/netbase$
ls netbase-4.47/
interfaces
raul at phi04:/home/prjs/newcom0001/philinux/meta-fsl-arm/recipes-phi/netbase$
cat netbase-4.47/interfaces

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# Wired or wireless interfaces
iface eth0 inet static
address 192.168.1.50
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1


Some one can Tell me Why my bbappend do not work?

Thanks for all help!




-- 
*Raul Rosetto Muñoz*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120903/ac1ddf7f/attachment.html>


More information about the yocto mailing list