* Add Packages to Recipie
@ 2014-03-04 13:50 Joel Parker
2014-03-04 14:00 ` Alex J Lennon
0 siblings, 1 reply; 9+ messages in thread
From: Joel Parker @ 2014-03-04 13:50 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
I have an Image for the wandboard-solo and am trying to figure out the correct package names. For example:
IMAGE_FEATURES += "splash ssh-server-dropbear"
where do I get the name ssh-server-dropbear ? I am trying to add support for httpd, iconv and dev library, and sqlite3 and dev library, what would I put for the feature names ?
-- Joel Parker
[-- Attachment #2: Type: text/html, Size: 1526 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Add Packages to Recipie
2014-03-04 13:50 Add Packages to Recipie Joel Parker
@ 2014-03-04 14:00 ` Alex J Lennon
2014-03-04 14:22 ` Joel Parker
0 siblings, 1 reply; 9+ messages in thread
From: Alex J Lennon @ 2014-03-04 14:00 UTC (permalink / raw)
To: Joel Parker, yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 2116 bytes --]
On 04/03/2014 13:50, Joel Parker wrote:
> I have an Image for the wandboard-solo and am trying to figure out the
> correct package names. For example:
>
> IMAGE_FEATURES += "splash ssh-server-dropbear"
>
> where do I get the name ssh-server-dropbear ? I am trying to add
> support for httpd, iconv and dev library, and sqlite3 and dev library,
> what would I put for the feature names ?
>
If you look in sources/poky/meta/classes/core-image.bblclass there's a
list of supported IMAGE_FEATURES
For other packages which aren't features of the image you would (as I
understand it) add the names of the packages (presumably httpd, sqlite
etc.) in somewhere such as appending an image recipe, creating your own
recipe, or in local.conf if you must
e.g.
http://bec-systems.com/site/177/the-correct-way-to-add-packages-to-an-openembedded-image
Cheers,
Alex
> -- Joel Parker
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/>
Alex J Lennon / Director
1 Queensway, Liverpool L22 4RA
mobile: +44 (0)7956 668178
Linkedin <http://www.linkedin.com/in/alexjlennon> Skype
<skype:alexjlennon?add>
This e-mail message may contain confidential or legally privileged
information and is intended only for the use of the intended
recipient(s). Any unauthorized disclosure, dissemination, distribution,
copying or the taking of any action in reliance on the information
herein is prohibited. E-mails are not secure and cannot be guaranteed to
be error free as they can be intercepted, amended, or contain viruses.
Anyone who communicates with us by e-mail is deemed to have accepted
these risks. Company Name is not responsible for errors or omissions in
this message and denies any responsibility for any damage arising from
the use of e-mail. Any opinion and other statement contained in this
message and any attachment are solely those of the author and do not
necessarily represent those of the company.
[-- Attachment #2.1: Type: text/html, Size: 6552 bytes --]
[-- Attachment #2.2: ddlogo-4.png --]
[-- Type: image/png, Size: 3997 bytes --]
[-- Attachment #2.3: linkedin.png --]
[-- Type: image/png, Size: 631 bytes --]
[-- Attachment #2.4: skype.png --]
[-- Type: image/png, Size: 800 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Add Packages to Recipie
2014-03-04 14:00 ` Alex J Lennon
@ 2014-03-04 14:22 ` Joel Parker
2014-03-04 14:32 ` Alex J Lennon
2014-03-04 14:37 ` Paul Barker
0 siblings, 2 replies; 9+ messages in thread
From: Joel Parker @ 2014-03-04 14:22 UTC (permalink / raw)
To: Alex J Lennon, yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 2206 bytes --]
Yeah, that is what I tried but it gave me this :
ERROR: 'httpd' in IMAGE_FEATURES is not a valid image feature.
-- Joel Parker
On Tuesday, March 4, 2014 8:00 AM, Alex J Lennon <ajlennon@dynamicdevices.co.uk> wrote:
On 04/03/2014 13:50, Joel Parker wrote:
I have an Image for the wandboard-solo and am trying to figure out the correct package names. For example:
>
>
>IMAGE_FEATURES += "splash ssh-server-dropbear"
>
>
>where do I get the name ssh-server-dropbear ? I am trying to add support for httpd, iconv and dev library, and sqlite3 and dev library, what would I put for the feature names ?
>
>
If you look in sources/poky/meta/classes/core-image.bblclass there's
a list of supported IMAGE_FEATURES
For other packages which aren't features of the image you would (as
I understand it) add the names of the packages (presumably httpd,
sqlite etc.) in somewhere such as appending an image recipe,
creating your own recipe, or in local.conf if you must
e.g. http://bec-systems.com/site/177/the-correct-way-to-add-packages-to-an-openembedded-image
Cheers,
Alex
-- Joel Parker
>
>
>
>_______________________________________________
yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
--
Alex J Lennon / Director
1 Queensway, Liverpool L22 4RA
mobile: +44 (0)7956 668178
This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. Company Name is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company.
[-- Attachment #2: Type: text/html, Size: 7863 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Add Packages to Recipie
2014-03-04 14:22 ` Joel Parker
@ 2014-03-04 14:32 ` Alex J Lennon
2014-03-04 14:37 ` Paul Barker
1 sibling, 0 replies; 9+ messages in thread
From: Alex J Lennon @ 2014-03-04 14:32 UTC (permalink / raw)
To: Joel Parker, yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 4456 bytes --]
On 04/03/2014 14:22, Joel Parker wrote:
> Yeah, that is what I tried but it gave me this :
>
> ERROR: 'httpd' in IMAGE_FEATURES is not a valid image feature.
>
I suspect that's because there's no "httpd" feature. Is there a
particular reason you want to include "httpd" or are you just trying to
add in a web-server?
I'm not sure I understand what you're looking for here but we might be
getting confused over the difference between IMAGE_FEATURES
which are a special kind of tweaking magic and PACKAGES which are build
from recipes. You add packages to images.
For example there's a "lighttpd" recipe which will pull in
http://redmine.lighttpd.net/projects/lighttpd/
i.e. If you wanted to use this web server then you'd add the package
name "lighttpd" which corresponds to the recipe file here (or similar)
poky/meta/recipes-extended/lighttpd/lighttpd_1.4.33.bb
You'd add to the image you are building, or another image based on that
image with
IMAGE_INSTALL += "\
lighttpd \
"
Cheers,
Alex
> -- Joel Parker
>
>
> On Tuesday, March 4, 2014 8:00 AM, Alex J Lennon
> <ajlennon@dynamicdevices.co.uk> wrote:
>
> On 04/03/2014 13:50, Joel Parker wrote:
>> I have an Image for the wandboard-solo and am trying to figure out
>> the correct package names. For example:
>>
>> IMAGE_FEATURES += "splash ssh-server-dropbear"
>>
>> where do I get the name ssh-server-dropbear ? I am trying to add
>> support for httpd, iconv and dev library, and sqlite3 and dev
>> library, what would I put for the feature names ?
>>
>
> If you look in sources/poky/meta/classes/core-image.bblclass there's a
> list of supported IMAGE_FEATURES
>
> For other packages which aren't features of the image you would (as I
> understand it) add the names of the packages (presumably httpd, sqlite
> etc.) in somewhere such as appending an image recipe, creating your
> own recipe, or in local.conf if you must
>
> e.g.
> http://bec-systems.com/site/177/the-correct-way-to-add-packages-to-an-openembedded-image
>
> Cheers,
>
> Alex
>
>
>> -- Joel Parker
>>
>>
>> _______________________________________________ yocto mailing list
>> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
> --
> Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/>
> Alex J Lennon / Director
> 1 Queensway, Liverpool L22 4RA
> mobile: +44 (0)7956 668178
>
> Linkedin <http://www.linkedin.com/in/alexjlennon> Skype
> <skype:alexjlennon?add>
> This e-mail message may contain confidential or legally privileged
> information and is intended only for the use of the intended
> recipient(s). Any unauthorized disclosure, dissemination,
> distribution, copying or the taking of any action in reliance on the
> information herein is prohibited. E-mails are not secure and cannot be
> guaranteed to be error free as they can be intercepted, amended, or
> contain viruses. Anyone who communicates with us by e-mail is deemed
> to have accepted these risks. Company Name is not responsible for
> errors or omissions in this message and denies any responsibility for
> any damage arising from the use of e-mail. Any opinion and other
> statement contained in this message and any attachment are solely
> those of the author and do not necessarily represent those of the company.
>
>
--
Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/>
Alex J Lennon / Director
1 Queensway, Liverpool L22 4RA
mobile: +44 (0)7956 668178
Linkedin <http://www.linkedin.com/in/alexjlennon> Skype
<skype:alexjlennon?add>
This e-mail message may contain confidential or legally privileged
information and is intended only for the use of the intended
recipient(s). Any unauthorized disclosure, dissemination, distribution,
copying or the taking of any action in reliance on the information
herein is prohibited. E-mails are not secure and cannot be guaranteed to
be error free as they can be intercepted, amended, or contain viruses.
Anyone who communicates with us by e-mail is deemed to have accepted
these risks. Company Name is not responsible for errors or omissions in
this message and denies any responsibility for any damage arising from
the use of e-mail. Any opinion and other statement contained in this
message and any attachment are solely those of the author and do not
necessarily represent those of the company.
[-- Attachment #2.1: Type: text/html, Size: 17465 bytes --]
[-- Attachment #2.2: ddlogo-4.png --]
[-- Type: image/png, Size: 3997 bytes --]
[-- Attachment #2.3: linkedin.png --]
[-- Type: image/png, Size: 631 bytes --]
[-- Attachment #2.4: skype.png --]
[-- Type: image/png, Size: 800 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Add Packages to Recipie
2014-03-04 14:22 ` Joel Parker
2014-03-04 14:32 ` Alex J Lennon
@ 2014-03-04 14:37 ` Paul Barker
2014-03-04 14:47 ` Joel Parker
1 sibling, 1 reply; 9+ messages in thread
From: Paul Barker @ 2014-03-04 14:37 UTC (permalink / raw)
To: Joel Parker; +Cc: yocto@yoctoproject.org
On 4 March 2014 14:22, Joel Parker <joelparker27@yahoo.com> wrote:
>
> Yeah, that is what I tried but it gave me this :
>
> ERROR: 'httpd' in IMAGE_FEATURES is not a valid image feature.
>
> -- Joel Parker
>
IMAGE_FEATURES is for features (basically collections of packages put
together in a certain way), IMAGE_INSTALL is for packages and
packagegroups. You can use IMAGE_INSTALL_append to add to
IMAGE_INSTALL from your local.conf, but you're far better off creating
a new image recipe and setting IMAGE_INSTALL there.
You may want to read the relevant section of the documentation at
http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#usingpoky-extend-customimage.
To find the names to add to IMAGE_INSTALL, you can search the recipe
index at http://layers.openembedded.org/layerindex/branch/master/recipes/.
Note that you may need to change the "Branch" selector to whatever
version of The Yocto Project you're using.
Hope this helps,
--
Paul Barker
Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Add Packages to Recipie
2014-03-04 14:37 ` Paul Barker
@ 2014-03-04 14:47 ` Joel Parker
2014-03-04 14:56 ` Paul Barker
0 siblings, 1 reply; 9+ messages in thread
From: Joel Parker @ 2014-03-04 14:47 UTC (permalink / raw)
To: Paul Barker; +Cc: yocto@yoctoproject.org
Ok, thanks for that but what do you do for things that aren't in the extended recipes list ? Specifically, I need sqlite3, sqlite3-devel and iconv
Joel Parker
> On Mar 4, 2014, at 8:37 AM, Paul Barker <paul@paulbarker.me.uk> wrote:
>
>> On 4 March 2014 14:22, Joel Parker <joelparker27@yahoo.com> wrote:
>>
>> Yeah, that is what I tried but it gave me this :
>>
>> ERROR: 'httpd' in IMAGE_FEATURES is not a valid image feature.
>>
>> -- Joel Parker
>
> IMAGE_FEATURES is for features (basically collections of packages put
> together in a certain way), IMAGE_INSTALL is for packages and
> packagegroups. You can use IMAGE_INSTALL_append to add to
> IMAGE_INSTALL from your local.conf, but you're far better off creating
> a new image recipe and setting IMAGE_INSTALL there.
>
> You may want to read the relevant section of the documentation at
> http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#usingpoky-extend-customimage.
>
> To find the names to add to IMAGE_INSTALL, you can search the recipe
> index at http://layers.openembedded.org/layerindex/branch/master/recipes/.
> Note that you may need to change the "Branch" selector to whatever
> version of The Yocto Project you're using.
>
> Hope this helps,
>
> --
> Paul Barker
>
> Email: paul@paulbarker.me.uk
> http://www.paulbarker.me.uk
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Add Packages to Recipie
2014-03-04 14:47 ` Joel Parker
@ 2014-03-04 14:56 ` Paul Barker
2014-03-04 17:13 ` Rick Bianchi
0 siblings, 1 reply; 9+ messages in thread
From: Paul Barker @ 2014-03-04 14:56 UTC (permalink / raw)
To: Joel Parker; +Cc: yocto@yoctoproject.org
On 4 March 2014 14:47, Joel Parker <joelparker27@yahoo.com> wrote:
> Ok, thanks for that but what do you do for things that aren't in the extended recipes list ? Specifically, I need sqlite3, sqlite3-devel and iconv
>
I don't understand your query: I can find sqlite3 and libiconv using
the recipe search link I posted.
You won't find '-devel' packages though, I think the OE convention is
to use '-dev' instead. The recipe index doesn't show them, but most
packages offer '-dbg', '-dev', etc as appropriate.
Thanks,
--
Paul Barker
Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Add Packages to Recipie
2014-03-04 14:56 ` Paul Barker
@ 2014-03-04 17:13 ` Rick Bianchi
2014-03-05 10:49 ` Paul Eggleton
0 siblings, 1 reply; 9+ messages in thread
From: Rick Bianchi @ 2014-03-04 17:13 UTC (permalink / raw)
To: Paul Barker; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]
Paul,
My question is in the vain as Joel's, I need to add the program usbip (I
have already added the kernel modules) to the build, but I cannot find any
recipes for it. I have search in the package manager (smart) and it is not
there either "error: 'usbip' matches no packages". Is there a way for me to
add it during the build process?
Thanks,
Rick
On Tue, Mar 4, 2014 at 7:56 AM, Paul Barker <paul@paulbarker.me.uk> wrote:
> On 4 March 2014 14:47, Joel Parker <joelparker27@yahoo.com> wrote:
> > Ok, thanks for that but what do you do for things that aren't in the
> extended recipes list ? Specifically, I need sqlite3, sqlite3-devel and
> iconv
> >
>
> I don't understand your query: I can find sqlite3 and libiconv using
> the recipe search link I posted.
>
> You won't find '-devel' packages though, I think the OE convention is
> to use '-dev' instead. The recipe index doesn't show them, but most
> packages offer '-dbg', '-dev', etc as appropriate.
>
> Thanks,
>
> --
> Paul Barker
>
> Email: paul@paulbarker.me.uk
> http://www.paulbarker.me.uk
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
[-- Attachment #2: Type: text/html, Size: 2049 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Add Packages to Recipie
2014-03-04 17:13 ` Rick Bianchi
@ 2014-03-05 10:49 ` Paul Eggleton
0 siblings, 0 replies; 9+ messages in thread
From: Paul Eggleton @ 2014-03-05 10:49 UTC (permalink / raw)
To: Rick Bianchi; +Cc: yocto
On Tuesday 04 March 2014 10:13:42 Rick Bianchi wrote:
> My question is in the vain as Joel's, I need to add the program usbip (I
> have already added the kernel modules) to the build, but I cannot find any
> recipes for it. I have search in the package manager (smart) and it is not
> there either "error: 'usbip' matches no packages". Is there a way for me to
> add it during the build process?
No recipe for usbip seems to exist [1] so you'll need to create a recipe for
it yourself unless someone else in the community has one hiding somewhere. In
the latest version of the manual we have a step-by-step guide to creating a
new recipe; it should be almost completely applicable to current and older
versions of the build system as well:
http://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#new-recipe-writing-a-new-recipe
Cheers,
Paul
[1] http://layers.openembedded.org/layerindex/branch/master/recipes/?q=usbip
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-03-05 10:49 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-04 13:50 Add Packages to Recipie Joel Parker
2014-03-04 14:00 ` Alex J Lennon
2014-03-04 14:22 ` Joel Parker
2014-03-04 14:32 ` Alex J Lennon
2014-03-04 14:37 ` Paul Barker
2014-03-04 14:47 ` Joel Parker
2014-03-04 14:56 ` Paul Barker
2014-03-04 17:13 ` Rick Bianchi
2014-03-05 10:49 ` Paul Eggleton
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.