Add Packages to Recipie
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
Quoted 9 lines · Joel Parker
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
Quoted 7 lines
-- Joel Parker
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Signature · 22 lines
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.
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 <[email protected]> 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:
Quoted 8 lines
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
Quoted 4 lines
_______________________________________________
yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
Signature · 6 lines
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.
Quoted 4 lines · Joel Parker
Yeah, that is what I tried but it gave me this :
ERROR: 'httpd' in
IMAGE_FEATURESis 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
Quoted 63 lines
-- Joel Parker
On Tuesday, March 4, 2014 8:00 AM, Alex J Lennon
<[email protected]> wrote:Quoted 9 lines · Joel Parker
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_FEATURESFor 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-imageCheers,
Alex
Quoted 7 lines
-- Joel Parker
_______________________________________________ yocto mailing list [email protected] <mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/yoctoSignature · 19 lines
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.
Signature · 22 lines
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.
Quoted 7 lines · Joel Parker
Yeah, that is what I tried but it gave me this :
ERROR: 'httpd' in
IMAGE_FEATURESis 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,
Signature · 4 lines
Paul Barker Email: [email protected] http://www.paulbarker.me.uk
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
Quoted 31 lines · Paul Barker
Quoted 8 lines · Joel Parker
Yeah, that is what I tried but it gave me this :
ERROR: 'httpd' in
IMAGE_FEATURESis not a valid image feature.-- Joel Parker
IMAGE_FEATURESis for features (basically collections of packages put together in a certain way),IMAGE_INSTALLis for packages and packagegroups. You can useIMAGE_INSTALL_appendto add toIMAGE_INSTALLfrom your local.conf, but you're far better off creating a new image recipe and settingIMAGE_INSTALLthere.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,
Signature · 4 lines
Paul Barker Email: [email protected] http://www.paulbarker.me.uk
Quoted 2 lines · Joel Parker
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,
Signature · 4 lines
Paul Barker Email: [email protected] http://www.paulbarker.me.uk
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
Quoted 25 lines · Paul Barker
Quoted 1 line · Joel Parker
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
Quoted 1 line
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 BarkerEmail: [email protected]
http://www.paulbarker.me.uk
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 5 lines · 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
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre