All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Damien LEFEVRE <lefevre.da@gmail.com>
Cc: Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: bbappend extra SRC_URI ignored
Date: Thu, 14 Jun 2018 14:33:14 +0200	[thread overview]
Message-ID: <20180614123314.GA1389@jama> (raw)
In-Reply-To: <CA+FhBv_HSm-DBfaJuQjNpAhhCYUFpv_mZHjUfzePRA20wgW=6w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2050 bytes --]

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.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

  parent reply	other threads:[~2018-06-14 12:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-14 12:16 bbappend extra SRC_URI ignored Damien LEFEVRE
2018-06-14 12:24 ` Robert P. J. Day
2018-06-14 12:32   ` Damien LEFEVRE
2018-06-14 12:32 ` Maciej Pijanowski
2018-06-14 12:33 ` Martin Jansa [this message]
2018-06-14 13:22   ` Damien LEFEVRE
2018-06-14 14:23     ` Martin Jansa
2018-06-15 10:50       ` Damien LEFEVRE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180614123314.GA1389@jama \
    --to=martin.jansa@gmail.com \
    --cc=lefevre.da@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.