From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: r10kindsofpeople <r10kindsofpeople@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: denzil to dylan, netbase recipe broken?
Date: Tue, 30 Jul 2013 16:29:55 +0100 [thread overview]
Message-ID: <2010302.ipSdHH7rJ3@helios> (raw)
In-Reply-To: <CAE8H0+WMNPphz89i8WUeAwExPDxgFHHgc4FuLxVyx8pMR2esvw@mail.gmail.com>
Hi John,
On Tuesday 30 July 2013 11:15:26 r10kindsofpeople wrote:
> Under Denzil 7.0.1, I had a recipe
> mylayer/recipes-core/netbase/netbase_4.47.bbappend that contained:
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> SRC_URI += " file://interfaces \
> "
> To put my own interface file in the root file system from
> mylayer/recipes-core/netbase/netbase/interfaces
>
> Under Dylan 9.0.1, I tried the same technique, except renaming to
> netbase_5.0.bbappend, but I don't get my copy of interfaces, I get some
> default.
>
> I've hacked at the recipe a bit, trying to add a do_install step (based on
> the recipe in meta), and know at least that the recipe is getting parsed,
> because of the errors I created. I was able to clear up the errors, but
> still don't get my copy. Right now, the recipe reads:
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> SRC_URI_prepend = " file://interfaces \
> "
>
> do_install_append () {
> install -d ${D}/${sysconfdir}/network
> install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces
> }
>
> PRINC := "${@int(PRINC) + 1}"
>
> Can anyone help me understand why the old recipe no longer works, and what
> needs to be done to remedy?
The functionality for starting interfaces has been moved to a separate
init-ifupdown recipe for dylan. This should have been noted in the migration
information in the reference manual but did not make it in in time; I hadn't
realised it still hasn't been updated in the "current" version of the
documentation on the website and the dylan branch so I will now make sure that
happens.
Basically you just need to move your bbappend across to init-ifupdown and it
should work.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2013-07-30 15:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-30 15:15 denzil to dylan, netbase recipe broken? r10kindsofpeople
2013-07-30 15:29 ` Paul Eggleton [this message]
2013-07-30 17:03 ` r10kindsofpeople
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=2010302.ipSdHH7rJ3@helios \
--to=paul.eggleton@linux.intel.com \
--cc=r10kindsofpeople@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.