Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,865 Views

how to add third party package into image ?

Hello I've been building by own yocto image from http://download.intel.com/support/edison/sb/edisonbsp_ug_331188007.pdf this guide

and I want to add this https://github.com/drejkim/edi-cam edi-cam package into my image.

i have followed every step given in the guide and also added the following line into my edison-image.bb file to add package into image:

IMAGE_INSTALL += "edi-cam"

now when I build and make image, somehow it is throwing error like :

NOTE: Resolving any missing task queue dependencies

ERROR: Nothing RPROVIDES 'edi-cam' (but /home/x2/Desktop/edison-src/meta-intel-edison/meta-intel-edison-distro/recipes-core/images/edison-image.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'edi-cam' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['edi-cam']

ERROR: Required build target 'edison-image' has no buildable providers.

Missing or unbuildable dependency chain was: ['edison-image', 'edi-cam']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Loading cache: 100% |# | ETA: 00:00:00

Loaded 1365 entries from dependency cache.

NOTE: Resolving any missing task queue dependencies

ERROR: Nothing RPROVIDES 'edi-cam' (but /home/x2/Desktop/edison-src/meta-intel-edison/meta-intel-edison-distro/recipes-core/images/edison-image.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'edi-cam' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['edi-cam']

ERROR: Required build target 'edison-image' has no buildable providers.

Missing or unbuildable dependency chain was: ['edison-image', 'edi-cam']

 

 

 

 

NOW WHAT SHOULD I DO TO ADD THIS PACKAGE INTO MY IMAGE ?????

PLEASE HELP ME .... 

10 Replies
Matthias_H_Intel
Employee
154 Views

where did you put your recipe?

If it's your own meta-* layer you'd have to add it in the conf file

idata
Community Manager
154 Views

hi mhahn

I just followed the steps given in http://download.intel.com/support/edison/sb/edisonbsp_ug_331188007.pdf this guide

and using the "make" (i.e 3rd point) I built my image

starting from downloading yocto source given on Intel downloads package, I have stored everything on my desktop.

and rest of the commands I have to run in that downloaded source recipe itself. (refer http://download.intel.com/support/edison/sb/edisonbsp_ug_331188007.pdf this guide)

thank you.

Matthias_H_Intel
Employee
154 Views

my question still isn't answered: "where did you put your edi-cam_.bb recipe?

have you added your layer to out/linux64/build/conf/bblayers.conf?

idata
Community Manager
154 Views

hi mhahn

I did not put edi-cam_.bb recipe

I just added the following line (as example given in http://download.intel.com/support/edison/sb/edisonbsp_ug_331188007.pdf this guide ) into my edison-image.bb file

IMAGE_INSTALL += "edi-cam"

I did not do anything else. I have just applied the commands as it is given in the guide.

So I don't know anything about adding the layer in my bblayers.conf

If http://download.intel.com/support/edison/sb/edisonbsp_ug_331188007.pdf this guide contains commands of adding layers, I might have added. I don't know.

I have only added this line into my bblayers.conf file:

BBLAYERS ?= " \ Full/path/to/edison-src/meta-intel-edison/meta-openembedded/ meta-openembedded \ "

After you mentioned in last reply, I found its V1.1.2 on the following link

https://github.com/drejkim/edi-cam/releases https://github.com/drejkim/edi-cam/releases

from where will i get edi-cam1.1.2.bb recipe ?

Where should I put it ?

I'm newbie to all these so I really don't have any idea about it.

Can you please help me out with this ????

thank you

Matthias_H_Intel
Employee
154 Views

what do you really need?

Do you want to build an Edison image including edi-cam on your own? If yes, you'd have to write an edi-cam recipe on your own (probably would be mostly a package defining dependencies to ffmpeg ...).

If not, I'd recommend

  1. install the latest Edison image
  2. follow the guide on https://github.com/drejkim/edi-cam drejkim/edi-cam · GitHub. It's nicely described there.
idata
Community Manager
154 Views

hi mhahn

I'm trying to make edi-cam recipe and following steps from http://www.yoctoproject.org/docs/1.8/dev-manual/dev-manual.html# new-recipe-creating-the-base-recipe-using-recipetool this link

but when I run the following command, it throws error:-

x2:~/Desktop/edison-src/build$ recipetool create -o OUTFILE -x EXTERNALSRC https://github.com/drejkim/edi-cam.git https://github.com/drejkim/edi-cam.git

NOTE: Fetching https://github.com/drejkim/edi-cam.git https://github.com/drejkim/edi-cam.git...

NOTE: Source extracted to EXTERNALSRC

NOTE: Recipe OUTFILE has been created; further editing may be required to make it fully functional

Traceback (most recent call last):

File "/poky/scripts/recipetool", line 94, in

ret = main()

File "/poky/scripts/recipetool", line 87, in main

ret = args.func(args)

File "/poky/scripts/lib/recipetool/create.py", line 254, in create_recipe

shutil.rmtree(tempsrc)

File "/usr/lib/python2.7/shutil.py", line 239, in rmtree

onerror(os.listdir, path, sys.exc_info())

File "/usr/lib/python2.7/shutil.py", line 237, in rmtree

names = os.listdir(path)

OSError: [Errno 2] No such file or directory: '/tmp/recipetool-qFW5Zb'

any solution to this ?

Matthias_H_Intel
Employee
154 Views

hmmm, wasn't even aware of that "recipetool". I just manually create my recipes ...

Carlos_M_Intel
Employee
154 Views

Hi falak.desai@yahoo.com,

Do you want to add ffmpeg in the image or do you want to include the edi-cam folder in the filesystem?

Regards,

Charlie

idata
Community Manager
154 Views

Hi CMata_Intel

I want to include edi-cam folder in the file system.

basically I want to use the edi-cam functionality (i.e video streaming) built-in. So I want to include it into my image. So it includes ffmpeg too ..

Now how should I proceed ?

any solutions ?

Thank you,

Falak

Carlos_M_Intel
Employee
154 Views

Hi Falak,

Do you have updates in this?

I would like to know if there is a specific reason of why you want to include this in the image and no to use the steps from the edi-cam folder.

Have you consider to just include ffmpeg into your image and the other packages required?

You can also create your own layer with all the recipes you need for this.

Regards,

Charlie

Reply