All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Frydrych <tf+lists.yocto@r-finger.com>
To: yocto@yoctoproject.org
Subject: Re: netbase_4.47.bbappend
Date: Mon, 03 Sep 2012 19:58:14 +0100	[thread overview]
Message-ID: <5044FDC6.8000203@r-finger.com> (raw)
In-Reply-To: <CANmVirjVWacj1Rn2i1+pgmNZw5LYzBVtcZgmTcqiUOno5ZcKgg@mail.gmail.com>

Hi,

On 03/09/12 19:03, Raul Rosetto Munoz wrote:
> in my netbase_4.47.bbappend file i have this:
> 
> FILESEXTRAPATHS_prepend := "${THISDIR}/netbase-4.47"

I think you are missing a trailing ':' here, so your path is getting
merged together with whatever is already there (probably the path added
by the bbappend in meta-yocto, i.e., try

FILESEXTRAPATHS_prepend := "${THISDIR}/netbase-4.47:"


> SRC_URI_append  = "file://interfaces"

You don't need this; the base recipe already has this, simply modifying
the FILESEXTRAPATHS is enough.

> do_install_append () {
>         install -m 644 ${WORKDIR}/interfaces ${D}/${sysconfdir}/network/
> }

Similarly, you do not needs this either, the base do_install() method
already does this.

But if this interfaces file is for a specific machine, you might want to
consider putting your interfaces file into a machine specific location,
i.e.,

   netbase-4.47/<some machine>/interfaces

This will ensure the interfaces file is only used for that specific
machine (you do not need to make any other changes in the bb file, this
happens by some clever magic automatically); see how this is done in
meta/recipes-core/netbase for the various qemu machines.

Tomas


      reply	other threads:[~2012-09-03 18:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03 18:03 netbase_4.47.bbappend Raul Rosetto Munoz
2012-09-03 18:58 ` Tomas Frydrych [this message]

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=5044FDC6.8000203@r-finger.com \
    --to=tf+lists.yocto@r-finger.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.