Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
1,059 Views

Adding opkg repos to yocto image

Hi,

How to add repos (http://repo.opkg.net/edison/repo/core2-32/ Index of /edison/repo/core2-32) directly to yocto image? How should my recipe look like?

Regards

Srikanth

5 Replies
Highlighted
Employee
2 Views

Re: Adding opkg repos to yocto image

Hi Blackhole,

I would suggest you to check the http://www.intel.com/content/dam/support/us/en/documents/edison/sb/edisonbsp_ug_331188007.pdf Intel Edison Board Support Package. There you'll find to add your own packages to the image.

Now regarding the recipe, there's standard format for it. But in short, it should contain the following sections:

Regards,

Pablo

0 Kudos
Highlighted
New Contributor I
2 Views

Re: Adding opkg repos to yocto image

Hi Pablo,

Since it is a .ipk package, i'm not not sure which all files to include in the install section of the recipe. Can .ipk package can be added to the image with a different method?

Regards

Srikanth

0 Kudos
Highlighted
Employee
2 Views

Re: Adding opkg repos to yocto image

Hi Blackhole,

You can also search the package in the repository and add it to your image. In case you're not sure how to do it. You'll need to configure your base-feeds.conf file so you can fetch packages from the repo. If you want full instructions on how to configure your Edison, check the following link. http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html.

Once you're done with that you'll be able to install packages using the opkg install command and the name of the desired package.

Regards,

Pablo

0 Kudos
Highlighted
New Contributor I
2 Views

Re: Adding opkg repos to yocto image

Hi, I am looking for method to add these packages directly while creating the image to avoid opkg install after flashing the linux.

Regards

Srikanth

0 Kudos
Highlighted
Employee
2 Views

Re: Adding opkg repos to yocto image

Hi Blackhole,

In that case I would suggest you to check the http://www.yoctoproject.org/docs/1.6.1/dev-manual/dev-manual.html http://www.yoctoproject.org/docs/1.6.1/dev-manual/dev-manual.html. There you'll find more information on how to handle and develop Linux images, including kernel patches, packages, etc.

Regards,

Pablo

0 Kudos