[Openembedded-users] Allowing recipe to overwrite /etc config files

Parsa Dormiani parsa at esolar.com
Wed Feb 16 17:29:38 UTC 2011


I was struggling with this for a while myself, but here is the least effort solution I found for /etc/network/interface

1) to your $OEBASE/build/conf/local.conf add the line 

FILESPATHBASE =. "${OEBASE}/files:"

2) cp $OEBASE/openembedded/recipes/netbase/netbase/interfaces $OEBASE/files/netbase/interfaces

3) Modify the interfaces file in $OEBASE/files/netbase to your heart's content.  This will be the file the recipe will copy when you run bitbake.

You can do the same thing with defconfig for a custom linux kernel (note that the recipe will try to mess with some of the lines in defconfig ... read through recipe/linux/linux.inc)

Parsa  





More information about the Openembedded-users mailing list