Thanks

Here are some interesting parts of bitbake -e. It seems my syntax is
correct


# $FILESEXTRAPATHS [3 operations]
#   set? /home/damien/procbox-pyro/sources/poky/meta/conf/bitbake.conf:325
#     "__default:"
#   set
/home/damien/procbox-pyro/sources/poky/meta/conf/documentation.conf:173
#     [doc] "Extends the search path the OpenEmbedded build system uses
when looking for files and patches as it processes recipes and append
files."
#   _prepend[tegra186]
/home/damien/procbox-pyro/sources/meta-procbox/meta-tegra/recipes-bsp/tegra-binaries/tegra-tools_28.2.0.bbappend:1
#
 
"/home/damien/procbox-pyro/sources/meta-procbox/meta-tegra/recipes-bsp/tegra-binaries/tegra-tools_28.2.0/tegra186:"
# pre-expansion value:
#
"/home/damien/procbox-pyro/sources/meta-procbox/meta-tegra/recipes-bsp/tegra-binaries/tegra-tools_28.2.0/tegra186
:__default:"
FILESEXTRAPATHS="
/home/damien/procbox-pyro/sources/meta-procbox/meta-tegra/recipes-bsp/tegra-binaries/tegra-tools_28.2.0/tegra186
:__default:"

#
# $SRC_URI [10 operations]
.....
#     "    file://nvcamera-daemon.init     file://nvcamera-daemon.service
   file://argus-daemon.init     file://argus-daemon.service
 file://nvstartup.init     file://nvstartup.service "
#   _append[tegra186]
/home/damien/procbox-pyro/sources/meta-tegra/recipes-bsp/tegra-binaries/tegra-binaries-28.2.0.inc:19
#     "     file://tegra186-flash-helper.sh     file://nvpmodel.init
 file://nvpmodel.service "
#   set
/home/damien/procbox-pyro/sources/meta-tegra/recipes-bsp/tegra-binaries/tegra-shared-binaries.inc:8
#     ""
#   _prepend[tegra186]
/home/damien/procbox-pyro/sources/meta-procbox/meta-tegra/recipes-bsp/tegra-binaries/tegra-tools_28.2.0.bbappend:2
#     "file://nvpmodel.conf "
#   set tegra-binaries-28.2.0.inc:42
[__anon_46__home_damien_procbox_pyro_sources_meta_tegra_recipes_bsp_tegra_binaries_tegra_binaries_28_2_0_inc]
#     [md5sum] "22bbd0002db06bb26bf5de2d17cea8eb"
#   set tegra-binaries-28.2.0.inc:43
[__anon_46__home_damien_procbox_pyro_sources_meta_tegra_recipes_bsp_tegra_binaries_tegra_binaries_28_2_0_inc]
#     [sha256sum]
"62f57b4c03fedde1fe0a1635bd0828b334308eca71bd21f25ae5757f48fb3a76"
# pre-expansion value:
#   "file://nvpmodel.conf      file://tegra186-flash-helper.sh
 file://nvpmodel.init     file://nvpmodel.service "
SRC_URI="file://nvpmodel.conf      file://tegra186-flash-helper.sh
 file://nvpmodel.init     file://nvpmodel.service "

Then no other mentions until the do_install

Yet the nvpmodel.conf is never copied to ${WORKDIR} which
is 
/home/damien/procbox-pyro/build-jetson-tx2/tmp/work/aarch64_tegra186-poky-linux/tegra-tools/28.2.0-r0
in my case.

Could some bitbake options disable this standard behavior?

On Thu, Jun 14, 2018 at 3:33 PM, Martin Jansa <martin.ja...@gmail.com>
wrote:

> On Thu, Jun 14, 2018 at 03:16:00PM +0300, Damien LEFEVRE wrote:
> > HI,
> >
> > I'm working on meta-tegra layer and I'd like to append a recipe. The
> > original recipe looks like this:
> > https://github.com/madisongh/meta-tegra/blob/rocko-l4t-r28.
> 2/recipes-bsp/tegra-binaries/tegra-tools_28.2.0.bb
> > <https://github.com/madisongh/meta-tegra/blob/rocko-l4t-r28.
> 2/recipes-bsp/tegra-binaries/tegra-tools_28.2.0.bb>
> >
> > I've made a tegra-tools_28.2.0.bbappend to change the default PM_CONFIG
> > DEFAULT from 2 to 3 to get max performance in nvpmodel.conf configuration
> > file.
> >
> > ```
> > FILESEXTRAPATHS_prepend := "${THISDIR}/files/tegra186:"
> > SRC_URI_prepend_tegra186 += "file://nvpmodel.conf "
> >
> > do_install_append_tegra186() {
> >     install -d ${D}${sysconfdir}
> >     install -m 0755 ${B}/usr/sbin/nvpmodel ${D}${sbindir}/
> >     install -m 0644 ${WORKDIR}/nvpmodel.conf ${D}${sysconfdir}/nvpmodel.
> conf
> >     install -d ${D}${sysconfdir}/init.d
> >     install -m 0644 ${S}/nvpmodel.init ${D}${sysconfdir}/init.d/nvpmodel
> >     install -d ${D}${systemd_system_unitdir}
> >     install -m 0644 ${S}/nvpmodel.service ${D}${systemd_system_unitdir}
> > }
> > ```
> > Would you have any idea why the nvpmodel.conf prepend is ignored and the
> > file never ends up in ${WORKDIR}.
> >
> > I've made sure the paths are correct. nvpmodel.conf exists and if I put a
> > typo like nvpmodel.conf_blabla bitbake throws a warning that it cannot
> find
> > the file. So I'm sure the file is found but somehow bitbake ignores it.
> >
> > I'm having this issue with this one single recipe only, none of the
> others
> > in my build system so I'm a bit puzzled.
>
> Always use bitbake -e to verify that the file://nvpmodel.conf ends where
> you expect it to end (and if it doesn't the history will show you why
> not).
>
> >
> > Thanks,
> > -Damien
>
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
>
> --
> Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com
>
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to