All of lore.kernel.org
 help / color / mirror / Atom feed
* building the examples from "meta-demo"
@ 2011-12-02  2:18 David Smoot
  2011-12-02  3:26 ` Joshua Lock
  2011-12-02  3:30 ` David Smoot
  0 siblings, 2 replies; 7+ messages in thread
From: David Smoot @ 2011-12-02  2:18 UTC (permalink / raw)
  To: yocto

Greetings.  I am trying to learn the Yocto build system and I think I
am missing one key step.  I have successfully built and tested several
of the built in images ("core-image-basic", "core-image-base", etc)
for my routerstation pro.  I now want to understand how to build my
own customized images with other people's recipes and my own custom
recipes.  I want to try the upnp demos from
http://git.yoctoproject.org/cgit/cgit.cgi/meta-demo/.

From inside my poky folder, I did a "git clone
git://git.yoctoproject.org/meta-demo" so that I have the meta-demo
folder at the same level as the the other meta-* folders.
Outside my poky tree I did the "source poky/oe-init-build-env my-build-folder"
I edited conf/local.conf to set my parallel build options, my MACHINE
to routerstationpro, and my download directory variable.
I then typed "bitbake -k demo-image-mediatomb" but I got an error
message that "ERROR: Nothing PROVIDES 'demo-image-mediatomb'"

Obviously I have missed a step to tell poky how to find that image but
so far I have not been able to google the answer to my mistake.

Thanks in advance for any answers and thanks for such a cool tool.

David Smoot


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: building the examples from "meta-demo"
  2011-12-02  2:18 building the examples from "meta-demo" David Smoot
@ 2011-12-02  3:26 ` Joshua Lock
  2011-12-02  3:36   ` David Smoot
  2011-12-02  3:30 ` David Smoot
  1 sibling, 1 reply; 7+ messages in thread
From: Joshua Lock @ 2011-12-02  3:26 UTC (permalink / raw)
  To: yocto

Hi David

On 01/12/11 18:18, David Smoot wrote:
> From inside my poky folder, I did a "git clone
> git://git.yoctoproject.org/meta-demo" so that I have the meta-demo
> folder at the same level as the the other meta-* folders.
> Outside my poky tree I did the "source poky/oe-init-build-env my-build-folder"
> I edited conf/local.conf to set my parallel build options, my MACHINE
> to routerstationpro, and my download directory variable.
> I then typed "bitbake -k demo-image-mediatomb" but I got an error
> message that "ERROR: Nothing PROVIDES 'demo-image-mediatomb'"

You need to add the layer to your conf/bblayers.conf as per the
documentation here:
http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#usingpoky-changes-layers

WARNING: the meta-demo layer hasn't seen any commits for some time, it's
likely bit-rotten and out of date.

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: building the examples from "meta-demo"
  2011-12-02  2:18 building the examples from "meta-demo" David Smoot
  2011-12-02  3:26 ` Joshua Lock
@ 2011-12-02  3:30 ` David Smoot
  2011-12-02  3:42   ` Joshua Lock
  2011-12-02  3:43   ` David Smoot
  1 sibling, 2 replies; 7+ messages in thread
From: David Smoot @ 2011-12-02  3:30 UTC (permalink / raw)
  To: yocto

On Thu, Dec 1, 2011 at 8:18 PM, David Smoot <davidsmoot@gmail.com> wrote:
<snip background>
>
> Obviously I have missed a step to tell poky how to find that image but
> so far I have not been able to google the answer to my mistake.
>
> Thanks in advance for any answers and thanks for such a cool tool.
>
> David Smoot

I think I solved my original question but ran into another problem:

In my build directory, I edited conf/bblayer.conf to add the path to
the "meta-demo" folder to the BBLAYERS variable.

That got me further but it appears now that the meta-demo recipes
reference things I do not have in my poky tree.  I am guessing that
the demo was coded for the yocto 1.0 release and is broken by the
yocto 1.1 structure.

I got an error "ERROR: Could not include required file
recipes-core/images/core-image-live.inc".  I did not need a live image
for what I was working on so I simply removed the -live recipes and
that got me past that error but to a new error:
ERROR: No recipes available for:
/opt/yocto/poky/meta-demo/recipes-kernel/linux/linux-wrs_git.bbappend
/opt/yocto/poky/meta-demo/recipes-kernel/linux/linux-yocto_git.bbappend"

So two questions:
Is my assumption about 1.0 vs 1.1 appear to be correct or is there
another source of error (I am very new at Yocto)?
Has anyone ported the upnp demo apps to 1.1 yet?

thanks again,
David


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: building the examples from "meta-demo"
  2011-12-02  3:26 ` Joshua Lock
@ 2011-12-02  3:36   ` David Smoot
  2011-12-02  3:48     ` Joshua Lock
  0 siblings, 1 reply; 7+ messages in thread
From: David Smoot @ 2011-12-02  3:36 UTC (permalink / raw)
  To: Joshua Lock; +Cc: yocto

Thank you.  Nice job... you managed to anticipate and answer my
question before I asked it.

Maybe I'll tackle updating the demo but I have a lot to learn.


David


On Thu, Dec 1, 2011 at 9:26 PM, Joshua Lock <josh@linux.intel.com> wrote:
> Hi David
>
> On 01/12/11 18:18, David Smoot wrote:
>> From inside my poky folder, I did a "git clone
>> git://git.yoctoproject.org/meta-demo" so that I have the meta-demo
>> folder at the same level as the the other meta-* folders.
>> Outside my poky tree I did the "source poky/oe-init-build-env my-build-folder"
>> I edited conf/local.conf to set my parallel build options, my MACHINE
>> to routerstationpro, and my download directory variable.
>> I then typed "bitbake -k demo-image-mediatomb" but I got an error
>> message that "ERROR: Nothing PROVIDES 'demo-image-mediatomb'"
>
> You need to add the layer to your conf/bblayers.conf as per the
> documentation here:
> http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#usingpoky-changes-layers
>
> WARNING: the meta-demo layer hasn't seen any commits for some time, it's
> likely bit-rotten and out of date.
>
> Cheers,
> Joshua
> --
> Joshua Lock
>        Yocto Project "Johannes factotum"
>        Intel Open Source Technology Centre
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: building the examples from "meta-demo"
  2011-12-02  3:30 ` David Smoot
@ 2011-12-02  3:42   ` Joshua Lock
  2011-12-02  3:43   ` David Smoot
  1 sibling, 0 replies; 7+ messages in thread
From: Joshua Lock @ 2011-12-02  3:42 UTC (permalink / raw)
  To: yocto

On 01/12/11 19:30, David Smoot wrote:
> On Thu, Dec 1, 2011 at 8:18 PM, David Smoot <davidsmoot@gmail.com> wrote:
> <snip background>
>>
>> Obviously I have missed a step to tell poky how to find that image but
>> so far I have not been able to google the answer to my mistake.
>>
>> Thanks in advance for any answers and thanks for such a cool tool.
>>
>> David Smoot
> 
> I think I solved my original question but ran into another problem:
> 
> In my build directory, I edited conf/bblayer.conf to add the path to
> the "meta-demo" folder to the BBLAYERS variable.
> 
> That got me further but it appears now that the meta-demo recipes
> reference things I do not have in my poky tree.  I am guessing that
> the demo was coded for the yocto 1.0 release and is broken by the
> yocto 1.1 structure.
> 
> I got an error "ERROR: Could not include required file
> recipes-core/images/core-image-live.inc".  I did not need a live image
> for what I was working on so I simply removed the -live recipes and
> that got me past that error but to a new error:
> ERROR: No recipes available for:
> /opt/yocto/poky/meta-demo/recipes-kernel/linux/linux-wrs_git.bbappend
> /opt/yocto/poky/meta-demo/recipes-kernel/linux/linux-yocto_git.bbappend"
> 
> So two questions:
> Is my assumption about 1.0 vs 1.1 appear to be correct or is there
> another source of error (I am very new at Yocto)?

This is correct.

> Has anyone ported the upnp demo apps to 1.1 yet?

Not that I'm aware of, it is on my to do list though.

Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: building the examples from "meta-demo"
  2011-12-02  3:30 ` David Smoot
  2011-12-02  3:42   ` Joshua Lock
@ 2011-12-02  3:43   ` David Smoot
  1 sibling, 0 replies; 7+ messages in thread
From: David Smoot @ 2011-12-02  3:43 UTC (permalink / raw)
  To: yocto

On Thu, Dec 1, 2011 at 9:30 PM, David Smoot <davidsmoot@gmail.com> wrote:
> On Thu, Dec 1, 2011 at 8:18 PM, David Smoot <davidsmoot@gmail.com> wrote:
> <snip background>

>> Thanks in advance for any answers and thanks for such a cool tool.
>>
>> David Smoot
>
> <snip second round of questions>
>
> thanks again,
> David

Josh answered my question before I hit send.  Thank you.  I'll look
into updating / adapting the meta-demo layer as I learn more.

I've only been experimenting with Yocto for a few days, the
documentation is very good for such a powerful tool.

David


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: building the examples from "meta-demo"
  2011-12-02  3:36   ` David Smoot
@ 2011-12-02  3:48     ` Joshua Lock
  0 siblings, 0 replies; 7+ messages in thread
From: Joshua Lock @ 2011-12-02  3:48 UTC (permalink / raw)
  To: David Smoot; +Cc: yocto

On 01/12/11 19:36, David Smoot wrote:
> Thank you.  Nice job... you managed to anticipate and answer my
> question before I asked it.
> 
> Maybe I'll tackle updating the demo but I have a lot to learn.

That'd be great! I've just pushed a few changes to make the layer
actually parse.

On top of that you'll need to accept that there is software in the layer
which may have commercial licensing implications. If you accept this you
can add the following to your build/conf/local.conf:

COMMERCIAL_LICENSE = ""

With the latest git and that change set you should at least be able to
get started with demo-image-mediatomb.

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-02  3:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02  2:18 building the examples from "meta-demo" David Smoot
2011-12-02  3:26 ` Joshua Lock
2011-12-02  3:36   ` David Smoot
2011-12-02  3:48     ` Joshua Lock
2011-12-02  3:30 ` David Smoot
2011-12-02  3:42   ` Joshua Lock
2011-12-02  3:43   ` David Smoot

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.