Hello,
I'm try to create my inferface file to netbase.
I have in the poky folder this files
raul@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@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@phi04:/home/prjs/newcom0001/philinux/meta-fsl-arm/recipes-phi$ ls
ddclient netbase ppp
And finaly in the netbase folder:
raul@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@phi04:/home/prjs/newcom0001/philinux/meta-fsl-arm/recipes-phi/netbase$
ls netbase-4.47/
interfaces
raul@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*
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto