* denzil to dylan, netbase recipe broken?
@ 2013-07-30 15:15 r10kindsofpeople
2013-07-30 15:29 ` Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: r10kindsofpeople @ 2013-07-30 15:15 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]
Hello!
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 basic BSP is crownbay, if that's important.
John
[-- Attachment #2: Type: text/html, Size: 1756 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: denzil to dylan, netbase recipe broken?
2013-07-30 15:15 denzil to dylan, netbase recipe broken? r10kindsofpeople
@ 2013-07-30 15:29 ` Paul Eggleton
2013-07-30 17:03 ` r10kindsofpeople
0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2013-07-30 15:29 UTC (permalink / raw)
To: r10kindsofpeople; +Cc: yocto
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: denzil to dylan, netbase recipe broken?
2013-07-30 15:29 ` Paul Eggleton
@ 2013-07-30 17:03 ` r10kindsofpeople
0 siblings, 0 replies; 3+ messages in thread
From: r10kindsofpeople @ 2013-07-30 17:03 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 2092 bytes --]
On Tue, Jul 30, 2013 at 11:29 AM, Paul Eggleton <
paul.eggleton@linux.intel.com> wrote:
> 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
>
Thanks, Paul, that worked.
John
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
[-- Attachment #2: Type: text/html, Size: 2884 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-30 17:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-30 15:15 denzil to dylan, netbase recipe broken? r10kindsofpeople
2013-07-30 15:29 ` Paul Eggleton
2013-07-30 17:03 ` r10kindsofpeople
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.