Openembedded Devel Discussions
 help / color / mirror / Atom feed
* Documentation
@ 2010-12-01 18:00 David Lambert
  2010-12-01 18:06 ` Documentation Stefan Schmidt
  0 siblings, 1 reply; 8+ messages in thread
From: David Lambert @ 2010-12-01 18:00 UTC (permalink / raw)
  To: openembedded-devel

I have been reading a copy of the OpenEmbedded User Manual (latest 
copyright 2009). In this document I find that there are numerous 
sections which are stubs and/or are incomplete. As a newcomer to the 
world of OpenEmbedded what other documents are suggested for reading? 
Also, is there a later version of this manual?

Best regards,

Dave.




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

* Re: Documentation
  2010-12-01 18:00 Documentation David Lambert
@ 2010-12-01 18:06 ` Stefan Schmidt
  2010-12-01 18:39   ` Documentation David Lambert
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Schmidt @ 2010-12-01 18:06 UTC (permalink / raw)
  To: openembedded-devel

Hello.

On Wed, 2010-12-01 at 12:00, David Lambert wrote:
> I have been reading a copy of the OpenEmbedded User Manual (latest
> copyright 2009). In this document I find that there are numerous
> sections which are stubs and/or are incomplete. As a newcomer to the
> world of OpenEmbedded what other documents are suggested for
> reading? Also, is there a later version of this manual?

My glassball is in repair so I can't see what manual you have and if a newer one
is available. Adding some kind of date string would help us here.

The user manual is build directly from the sources and should be always up to
date here:
http://docs.openembedded.org/usermanual/usermanual.html

regards
Stefan Schmidt



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

* Re: Documentation
  2010-12-01 18:06 ` Documentation Stefan Schmidt
@ 2010-12-01 18:39   ` David Lambert
  2010-12-01 18:54     ` Documentation Stefan Schmidt
  0 siblings, 1 reply; 8+ messages in thread
From: David Lambert @ 2010-12-01 18:39 UTC (permalink / raw)
  To: openembedded-devel

That is indeed the version of documentation that I was reading. To be 
more specific, one of the subjects I was attempting to look up was how 
to specialize a recipe using "amend.inc". I do not see any documentation 
on this subject.

Regards,

Dave.


On 12/01/2010 12:06 PM, Stefan Schmidt wrote:
> Hello.
>
> On Wed, 2010-12-01 at 12:00, David Lambert wrote:
>> I have been reading a copy of the OpenEmbedded User Manual (latest
>> copyright 2009). In this document I find that there are numerous
>> sections which are stubs and/or are incomplete. As a newcomer to the
>> world of OpenEmbedded what other documents are suggested for
>> reading? Also, is there a later version of this manual?
> My glassball is in repair so I can't see what manual you have and if a newer one
> is available. Adding some kind of date string would help us here.
>
> The user manual is build directly from the sources and should be always up to
> date here:
> http://docs.openembedded.org/usermanual/usermanual.html
>
> regards
> Stefan Schmidt
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




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

* Re: Documentation
  2010-12-01 18:39   ` Documentation David Lambert
@ 2010-12-01 18:54     ` Stefan Schmidt
  2010-12-01 22:46       ` Documentation Robert Foerster
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Schmidt @ 2010-12-01 18:54 UTC (permalink / raw)
  To: openembedded-devel

Hello.

On Wed, 2010-12-01 at 12:39, David Lambert wrote:
> That is indeed the version of documentation that I was reading. To
> be more specific, one of the subjects I was attempting to look up
> was how to specialize a recipe using "amend.inc". I do not see any
> documentation on this subject.

We lack a good technical writer in the community. IIRC there was a blogpost from
Khem about it and maybe some more infos on the mailling list. Thats of course
not the most straight forward location for the information.

If you searched together the information it would be great if you could send a
patch updating the manual with it. :)

regards
Stefan Schmidt



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

* Re: Documentation
  2010-12-01 18:54     ` Documentation Stefan Schmidt
@ 2010-12-01 22:46       ` Robert Foerster
  2010-12-02 20:37         ` Documentation David Lambert
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Foerster @ 2010-12-01 22:46 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Dec 1, 2010 at 1:54 PM, Stefan Schmidt <stefan@datenfreihafen.org>wrote:

> Hello.
>
> On Wed, 2010-12-01 at 12:39, David Lambert wrote:
> > That is indeed the version of documentation that I was reading. To
> > be more specific, one of the subjects I was attempting to look up
> > was how to specialize a recipe using "amend.inc". I do not see any
> > documentation on this subject.
>
> We lack a good technical writer in the community. IIRC there was a blogpost
> from
> Khem about it and maybe some more infos on the mailling list. Thats of
> course
> not the most straight forward location for the information.
>
> If you searched together the information it would be great if you could
> send a
> patch updating the manual with it. :)
>
> regards
> Stefan Schmidt
>
>
I'm not an expert on the subject, but I've managed to utilize amend.inc
based on some information I pieced together from the irc logs.  I hope to
soon write an article on how to use amend.inc, but haven't yet found the
time.

(This is far from authoritative, but it's been working for me here)

You need to add the following to build-dir/conf/local.conf (can also go in
overlay/conf/site.conf).
INHERIT += "amend"

DEV_BASE = "${HOME}/dev/openembedded/dev"
COLLECTIONS = "${DEV_BASE}/overlay/recipes \
                ${DEV_BASE}/openembedded/recipes"

# By default, file:// SRC_URIs only look under the current .bb file.
# Prepend our overlays into the file:// search path, so we can override
# openembedded recipes' SRC_URI files. Also, ensure the openembedded
# files are always in the search path, so our overlay .bb's can
# reference upstream files.
FILESPATHBASE =. "${@ \
        ':'.join([os.path.join(recipedir, \
                                os.path.basename(os.path.dirname( \
                                                        d.getVar('FILE',
1)))) \
                for recipedir in d.getVar('COLLECTIONS', 1).split()])}:"


You'll need to make DEV_BASE and COLLECTIONS match your setup.  This assumes
that I have two trees with recipes:
 - openembedded
 - overlay

This makes sure that for a given recipe, my local overlay will be in its
FILESPATH.


Now, for example, I've added a patch to psplash to adjust the colors.
In overlay/recipes/psplash/ I have two files:
amend.inc:
PR .= "-amend"
SRC_URI += "file://0001-tweaked-for-company-colors.patch"

and my patch, named 0001-tweaked-for-company-colors.patch

Now, the new patch will be applied when psplash is built.  Also, I like
updating PR with -amend, this way the package is now shown
as psplash-0.0+svnr422-r34-amend, so that I can easily tell that I've
amended the package.

I'm sure there are others who can provide more/better information, but
that'll hopefully get you started.

Regards,
Bob Foerster


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

* Re: Documentation
  2010-12-01 22:46       ` Documentation Robert Foerster
@ 2010-12-02 20:37         ` David Lambert
  2010-12-02 20:52           ` Documentation Robert Foerster
  0 siblings, 1 reply; 8+ messages in thread
From: David Lambert @ 2010-12-02 20:37 UTC (permalink / raw)
  To: openembedded-devel

Thanks for all the suggestions. While on the subject, does a dictionary 
of keywords with their meanings exist anywhere? Newbies like me may find 
it very useful when browsing recipes. Some terms are intuitively 
obvious, such as DEV_BASE, but others such as PR, INHERIT, PV, leave me 
with some ambiguity.

Regards,

Dave.


On 12/01/2010 04:46 PM, Robert Foerster wrote:
> On Wed, Dec 1, 2010 at 1:54 PM, Stefan Schmidt<stefan@datenfreihafen.org>wrote:
>
>> Hello.
>>
>> On Wed, 2010-12-01 at 12:39, David Lambert wrote:
>>> That is indeed the version of documentation that I was reading. To
>>> be more specific, one of the subjects I was attempting to look up
>>> was how to specialize a recipe using "amend.inc". I do not see any
>>> documentation on this subject.
>> We lack a good technical writer in the community. IIRC there was a blogpost
>> from
>> Khem about it and maybe some more infos on the mailling list. Thats of
>> course
>> not the most straight forward location for the information.
>>
>> If you searched together the information it would be great if you could
>> send a
>> patch updating the manual with it. :)
>>
>> regards
>> Stefan Schmidt
>>
>>
> I'm not an expert on the subject, but I've managed to utilize amend.inc
> based on some information I pieced together from the irc logs.  I hope to
> soon write an article on how to use amend.inc, but haven't yet found the
> time.
>
> (This is far from authoritative, but it's been working for me here)
>
> You need to add the following to build-dir/conf/local.conf (can also go in
> overlay/conf/site.conf).
> INHERIT += "amend"
>
> DEV_BASE = "${HOME}/dev/openembedded/dev"
> COLLECTIONS = "${DEV_BASE}/overlay/recipes \
>                  ${DEV_BASE}/openembedded/recipes"
>
> # By default, file:// SRC_URIs only look under the current .bb file.
> # Prepend our overlays into the file:// search path, so we can override
> # openembedded recipes' SRC_URI files. Also, ensure the openembedded
> # files are always in the search path, so our overlay .bb's can
> # reference upstream files.
> FILESPATHBASE =. "${@ \
>          ':'.join([os.path.join(recipedir, \
>                                  os.path.basename(os.path.dirname( \
>                                                          d.getVar('FILE',
> 1)))) \
>                  for recipedir in d.getVar('COLLECTIONS', 1).split()])}:"
>
>
> You'll need to make DEV_BASE and COLLECTIONS match your setup.  This assumes
> that I have two trees with recipes:
>   - openembedded
>   - overlay
>
> This makes sure that for a given recipe, my local overlay will be in its
> FILESPATH.
>
>
> Now, for example, I've added a patch to psplash to adjust the colors.
> In overlay/recipes/psplash/ I have two files:
> amend.inc:
> PR .= "-amend"
> SRC_URI += "file://0001-tweaked-for-company-colors.patch"
>
> and my patch, named 0001-tweaked-for-company-colors.patch
>
> Now, the new patch will be applied when psplash is built.  Also, I like
> updating PR with -amend, this way the package is now shown
> as psplash-0.0+svnr422-r34-amend, so that I can easily tell that I've
> amended the package.
>
> I'm sure there are others who can provide more/better information, but
> that'll hopefully get you started.
>
> Regards,
> Bob Foerster
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




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

* Re: Documentation
  2010-12-02 20:37         ` Documentation David Lambert
@ 2010-12-02 20:52           ` Robert Foerster
  2010-12-03  7:35             ` Documentation Christophe Aeschlimann
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Foerster @ 2010-12-02 20:52 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Dec 2, 2010 at 3:37 PM, David Lambert <dave@lambsys.com> wrote:

> Thanks for all the suggestions. While on the subject, does a dictionary of
> keywords with their meanings exist anywhere? Newbies like me may find it
> very useful when browsing recipes. Some terms are intuitively obvious, such
> as DEV_BASE, but others such as PR, INHERIT, PV, leave me with some
> ambiguity.
>
>
Some info can be found in the manual:
http://docs.openembedded.org/usermanual/usermanual.html#recipes_versioning
Discussed in the manual are many of the items which are initially confusing:
P, PN, PV, PR, PF, S, D, WORDIR, etc

Also useful is to read the bitbake manual, which defines the basic metadata
syntax handled by bitbake. http://bitbake.berlios.de/manual/

Hope that helps.
Bob



> Regards,
>
> Dave.
>
>
>
> On 12/01/2010 04:46 PM, Robert Foerster wrote:
>
>> On Wed, Dec 1, 2010 at 1:54 PM, Stefan Schmidt<stefan@datenfreihafen.org
>> >wrote:
>>
>>  Hello.
>>>
>>> On Wed, 2010-12-01 at 12:39, David Lambert wrote:
>>>
>>>> That is indeed the version of documentation that I was reading. To
>>>> be more specific, one of the subjects I was attempting to look up
>>>> was how to specialize a recipe using "amend.inc". I do not see any
>>>> documentation on this subject.
>>>>
>>> We lack a good technical writer in the community. IIRC there was a
>>> blogpost
>>> from
>>> Khem about it and maybe some more infos on the mailling list. Thats of
>>> course
>>> not the most straight forward location for the information.
>>>
>>> If you searched together the information it would be great if you could
>>> send a
>>> patch updating the manual with it. :)
>>>
>>> regards
>>> Stefan Schmidt
>>>
>>>
>>>  I'm not an expert on the subject, but I've managed to utilize amend.inc
>> based on some information I pieced together from the irc logs.  I hope to
>> soon write an article on how to use amend.inc, but haven't yet found the
>> time.
>>
>> (This is far from authoritative, but it's been working for me here)
>>
>> You need to add the following to build-dir/conf/local.conf (can also go in
>> overlay/conf/site.conf).
>> INHERIT += "amend"
>>
>> DEV_BASE = "${HOME}/dev/openembedded/dev"
>> COLLECTIONS = "${DEV_BASE}/overlay/recipes \
>>                 ${DEV_BASE}/openembedded/recipes"
>>
>> # By default, file:// SRC_URIs only look under the current .bb file.
>> # Prepend our overlays into the file:// search path, so we can override
>> # openembedded recipes' SRC_URI files. Also, ensure the openembedded
>> # files are always in the search path, so our overlay .bb's can
>> # reference upstream files.
>> FILESPATHBASE =. "${@ \
>>         ':'.join([os.path.join(recipedir, \
>>                                 os.path.basename(os.path.dirname( \
>>                                                         d.getVar('FILE',
>> 1)))) \
>>                 for recipedir in d.getVar('COLLECTIONS', 1).split()])}:"
>>
>>
>> You'll need to make DEV_BASE and COLLECTIONS match your setup.  This
>> assumes
>> that I have two trees with recipes:
>>  - openembedded
>>  - overlay
>>
>> This makes sure that for a given recipe, my local overlay will be in its
>> FILESPATH.
>>
>>
>> Now, for example, I've added a patch to psplash to adjust the colors.
>> In overlay/recipes/psplash/ I have two files:
>> amend.inc:
>> PR .= "-amend"
>> SRC_URI += "file://0001-tweaked-for-company-colors.patch"
>>
>> and my patch, named 0001-tweaked-for-company-colors.patch
>>
>> Now, the new patch will be applied when psplash is built.  Also, I like
>> updating PR with -amend, this way the package is now shown
>> as psplash-0.0+svnr422-r34-amend, so that I can easily tell that I've
>> amended the package.
>>
>> I'm sure there are others who can provide more/better information, but
>> that'll hopefully get you started.
>>
>> Regards,
>> Bob Foerster
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


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

* Re: Documentation
  2010-12-02 20:52           ` Documentation Robert Foerster
@ 2010-12-03  7:35             ` Christophe Aeschlimann
  0 siblings, 0 replies; 8+ messages in thread
From: Christophe Aeschlimann @ 2010-12-03  7:35 UTC (permalink / raw)
  To: openembedded-devel

Hi,

On 02.12.2010 21:52, Robert Foerster wrote:
> On Thu, Dec 2, 2010 at 3:37 PM, David Lambert <dave@lambsys.com> wrote:
> 
>> Thanks for all the suggestions. While on the subject, does a dictionary of
>> keywords with their meanings exist anywhere? Newbies like me may find it
>> very useful when browsing recipes. Some terms are intuitively obvious, such
>> as DEV_BASE, but others such as PR, INHERIT, PV, leave me with some
>> ambiguity.
>>
>>
> Some info can be found in the manual:
> http://docs.openembedded.org/usermanual/usermanual.html#recipes_versioning
> Discussed in the manual are many of the items which are initially confusing:
> P, PN, PV, PR, PF, S, D, WORDIR, etc

The poky handbook also gives a few useful definitions:

http://www.pokylinux.org/releases/green-3.3/doc/poky-handbook.html#var-glossary-a

> 
> Also useful is to read the bitbake manual, which defines the basic metadata
> syntax handled by bitbake. http://bitbake.berlios.de/manual/
> 
> Hope that helps.
> Bob
> 

[...]


-- 
Christophe Aeschlimann

Embedded Software Engineer

Advanced Communications Networks S.A.

Rue du Puits-Godet 8a
2000 Neuchâtel, Switzerland

Tél. +41 32 724 74 31

c.aeschlimann@acn-group.ch



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

end of thread, other threads:[~2010-12-03  7:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-01 18:00 Documentation David Lambert
2010-12-01 18:06 ` Documentation Stefan Schmidt
2010-12-01 18:39   ` Documentation David Lambert
2010-12-01 18:54     ` Documentation Stefan Schmidt
2010-12-01 22:46       ` Documentation Robert Foerster
2010-12-02 20:37         ` Documentation David Lambert
2010-12-02 20:52           ` Documentation Robert Foerster
2010-12-03  7:35             ` Documentation Christophe Aeschlimann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox