I've tested it, but the problem is the same.My bbappend recipe is not even 
called ,so it does not matter what i put in it. Why is not called?
 

     El Jueves 12 de marzo de 2015 22:06, Gary Thomas <g...@mlbassoc.com> 
escribió:
   

 On 2015-03-12 14:58, p_j_r_m wrote:
> Hello
>
> I'd like to add an append recipe for base-files in order to install a custom 
> fstab.
>
> In my system I already have this base-files recipes:
>
>      
>layers/openembedded-core-1.4/meta/recipes-core/base-files/base-files_3.0.14.bb
>      
>layers/meta-montavista-1.4/recipes-core/base-files/base-files_3.0.14.bbappend
>
> So I in my layer I have:
>
> layers/meta-mylayer/recipes/base-files
> ├── base-files_3.0.14.bbappend
> └── files
>      └── fstab
>
> and I add this base-files_3.0.14.bbappend content:
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
>
> SRC_URI_append = "file://fstab"
>
> do_install_append() {
>          echo "======= ${PN}-${PV} INSTALLING fstab ========"
>          install -m 644 ${WORKDIR}/fstab ${D}${sysconfdir}
> }
>
> but no matter how I put FILESEXTRAPATHS_prepend or how I name my bbappend 
> when I build the recipe with bitbake base-files it never gets called and my 
> fstab file is not installed.
> If the original recipe is base-files_3.0.14.bb, why append is 
> base-files_3.0.14.bbappend instead of base-files_3.bbappend only? How should 
> i name and put FILESEXTRAPATHS

Instead of putting your fstab in 'files', put it in a directory
called 'base-files-3.0.14' which is where your FILESEXTRAPATHS
is looking.

-- 
------------------------------------------------------------
Gary Thomas                |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


   
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to