Discussion:
[yocto] bbappend extra SRC_URI ignored
Damien LEFEVRE
2018-06-14 12:16:00 UTC
Permalink
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.

Thanks,
-Damien
Damien LEFEVRE
2018-06-14 12:32:57 UTC
Permalink
Typo sorry.

I've tried all possible combination

- SRC_URI += "file://nvpmodel.conf"
- SRC_URI_append = " file://nvpmodel.conf"
- SRC_URI_prepend = "file://nvpmodel.conf "
- SRC_URI_append_tegra186 = " file://nvpmodel.conf"
- SRC_URI_prepend_tegra186 = "file://nvpmodel.conf "


-Damien
Post by Damien LEFEVRE
Post by Damien LEFEVRE
HI,
I'm working on meta-tegra layer and I'd like to append a recipe. The
original recipe looks like
Post by Damien LEFEVRE
https://github.com/madisongh/meta-tegra/blob/rocko-l4t-r28.
2/recipes-bsp/tegra-binaries/tegra-t
Post by Damien LEFEVRE
ools_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
Post by Damien LEFEVRE
get max performance in nvpmodel.conf configuration file.
```
FILESEXTRAPATHS_prepend := "${THISDIR}/files/tegra186:"
SRC_URI_prepend_tegra186 += "file://nvpmodel.conf "
why are you using both a prepend and the "+=" operator on the same
line?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca/dokuwiki
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
Martin Jansa
2018-06-14 12:33:14 UTC
Permalink
Post by Damien LEFEVRE
HI,
I'm working on meta-tegra layer and I'd like to append a recipe. The
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).
Post by Damien LEFEVRE
Thanks,
-Damien
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Martin 'JaMa' Jansa jabber: ***@gmail.com
Damien LEFEVRE
2018-06-14 13:22:44 UTC
Permalink
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?
Post by Damien LEFEVRE
Post by Damien LEFEVRE
HI,
I'm working on meta-tegra layer and I'd like to append a recipe. The
https://github.com/madisongh/meta-tegra/blob/rocko-l4t-r28.
2/recipes-bsp/tegra-binaries/tegra-tools_28.2.0.bb
Post by Damien LEFEVRE
<https://github.com/madisongh/meta-tegra/blob/rocko-l4t-r28.
2/recipes-bsp/tegra-binaries/tegra-tools_28.2.0.bb>
Post by Damien LEFEVRE
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
Post by Damien LEFEVRE
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
Post by Damien LEFEVRE
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
Post by Damien LEFEVRE
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).
Post by Damien LEFEVRE
Thanks,
-Damien
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Martin Jansa
2018-06-14 14:23:17 UTC
Permalink
See ./recipes-bsp/tegra-binaries/tegra-shared-binaries.inc

It's disabling standard do_fetch, do_unpack, do_patch and replacing them
with tegra-binaries:do_unpack tegra-binaries:do_preconfigure which populates
S directory in work-shared
S = "${TMPDIR}/work-shared/L4T-${SOC_FAMILY}-${PV}-${PR}/Linux_for_Tegra"

so basically you need to add it in tegra-binaries recipe (not tegra-tools).
Post by Damien LEFEVRE
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:"
#
"/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"
# "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?
Post by Damien LEFEVRE
Post by Damien LEFEVRE
HI,
I'm working on meta-tegra layer and I'd like to append a recipe. The
https://github.com/madisongh/meta-tegra/blob/rocko-l4t-r28.2/recipes-bsp/tegra-binaries/tegra-tools_28.2.0.bb
Post by Damien LEFEVRE
<
https://github.com/madisongh/meta-tegra/blob/rocko-l4t-r28.2/recipes-bsp/tegra-binaries/tegra-tools_28.2.0.bb
Post by Damien LEFEVRE
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
Post by Damien LEFEVRE
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
Post by Damien LEFEVRE
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
Post by Damien LEFEVRE
typo like nvpmodel.conf_blabla bitbake throws a warning that it cannot
find
Post by Damien LEFEVRE
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
Post by Damien LEFEVRE
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).
Post by Damien LEFEVRE
Thanks,
-Damien
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Damien LEFEVRE
2018-06-15 10:50:58 UTC
Permalink
It's exactly as you said. Thanks a lot!

I got it solved and learned some new tricks =)

-Damien
Post by Martin Jansa
See ./recipes-bsp/tegra-binaries/tegra-shared-binaries.inc
It's disabling standard do_fetch, do_unpack, do_patch and replacing them
with tegra-binaries:do_unpack tegra-binaries:do_preconfigure which populates
S directory in work-shared
S = "${TMPDIR}/work-shared/L4T-${SOC_FAMILY}-${PV}-${PR}/Linux_for_Tegra"
so basically you need to add it in tegra-binaries recipe (not tegra-tools).
Post by Damien LEFEVRE
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:"
# "/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] "62f57b4c03fedde1fe0a1635bd0828
b334308eca71bd21f25ae5757f48fb3a76"
# "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?
Post by Damien LEFEVRE
Post by Damien LEFEVRE
HI,
I'm working on meta-tegra layer and I'd like to append a recipe. The
https://github.com/madisongh/meta-tegra/blob/rocko-l4t-r28.
2/recipes-bsp/tegra-binaries/tegra-tools_28.2.0.bb
Post by Damien LEFEVRE
<https://github.com/madisongh/meta-tegra/blob/rocko-l4t-r28.
2/recipes-bsp/tegra-binaries/tegra-tools_28.2.0.bb>
Post by Damien LEFEVRE
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
Post by Damien LEFEVRE
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
Post by Damien LEFEVRE
install -d ${D}${sysconfdir}/init.d
install -m 0644 ${S}/nvpmodel.init ${D}${sysconfdir}/init.d/
nvpmodel
Post by Damien LEFEVRE
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
Post by Damien LEFEVRE
file never ends up in ${WORKDIR}.
I've made sure the paths are correct. nvpmodel.conf exists and if I
put a
Post by Damien LEFEVRE
typo like nvpmodel.conf_blabla bitbake throws a warning that it cannot
find
Post by Damien LEFEVRE
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
Post by Damien LEFEVRE
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).
Post by Damien LEFEVRE
Thanks,
-Damien
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Maciej Pijanowski
2018-06-14 12:32:23 UTC
Permalink
Post by Damien LEFEVRE
HI,
I'm working on meta-tegra layer and I'd like to append a recipe. The
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 "
It looks like a common mistake of mixing append / prepend with +=.
I do not know this recipe or machine, but i would try with changing this
line
to: `SRC_URI_tegra186 += "file://nvpmodel.conf "` first
Post by Damien LEFEVRE
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.
Thanks,
-Damien
--
Maciej Pijanowski
Embedded Systems Engineer
http://3mdeb.com | @3mdeb_com
Loading...