Re: [yocto] Image that depends on another image

2014-08-28 Thread Khem Raj
On 14-08-27 06:43:09, Seth Bollinger wrote:
 On Thu, Aug 21, 2014 at 7:25 PM, Christopher Larson clar...@kergoth.com
 wrote:
 
 
  On Thu, Aug 21, 2014 at 5:08 PM, Seth Bollinger seth.b...@gmail.com
  wrote:
 
  Our device requires two images to be built.  Is there any way to have the
  first image depend on the second image?
 
 
  do_rootfs[depends] += some-other-image:do_rootfs would probably do.
 
 
 I hate to resurrect this thread, but after testing this out and using it we
 ran into a small hiccup.  Since we're using the second image to generate a
 second partition, a lot of the dependencies actually need to be injected
 into the first image (users, utilities, etc.).  Is there a way to do this?

First image is a normal image too, so keep adding to RDEPENDS or
IMAGE_INSTALL inside that image recipe, there could be rootfs port
processing functions to tweak the content even

 
 Thanks again!
 
 Seth

 -- 
 ___
 yocto mailing list
 yocto@yoctoproject.org
 https://lists.yoctoproject.org/listinfo/yocto

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Image that depends on another image

2014-08-28 Thread Diego Sueiro
On Thu, Aug 28, 2014 at 4:27 AM, Khem Raj raj.k...@gmail.com wrote:

 On 14-08-27 06:43:09, Seth Bollinger wrote:
  On Thu, Aug 21, 2014 at 7:25 PM, Christopher Larson clar...@kergoth.com
 
  wrote:
 
  
   On Thu, Aug 21, 2014 at 5:08 PM, Seth Bollinger seth.b...@gmail.com
   wrote:
  
   Our device requires two images to be built.  Is there any way to have
 the
   first image depend on the second image?
  
  
   do_rootfs[depends] += some-other-image:do_rootfs would probably do.
  
 
  I hate to resurrect this thread, but after testing this out and using it
 we
  ran into a small hiccup.  Since we're using the second image to generate
 a
  second partition, a lot of the dependencies actually need to be injected
  into the first image (users, utilities, etc.).  Is there a way to do
 this?

 First image is a normal image too, so keep adding to RDEPENDS or
 IMAGE_INSTALL inside that image recipe, there could be rootfs port
 processing functions to tweak the content even


Or he can create a packagegroup in which can be used for both image recipes?

Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br
http://www.embarcados.com.br/?utm_source=assinatura_diegoutm_medium=e-mailutm_campaign=Assinatura%20Email%20Diego

/*long live rock 'n roll*/
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Image that depends on another image

2014-08-27 Thread Seth Bollinger
On Thu, Aug 21, 2014 at 7:25 PM, Christopher Larson clar...@kergoth.com
wrote:


 On Thu, Aug 21, 2014 at 5:08 PM, Seth Bollinger seth.b...@gmail.com
 wrote:

 Our device requires two images to be built.  Is there any way to have the
 first image depend on the second image?


 do_rootfs[depends] += some-other-image:do_rootfs would probably do.


I hate to resurrect this thread, but after testing this out and using it we
ran into a small hiccup.  Since we're using the second image to generate a
second partition, a lot of the dependencies actually need to be injected
into the first image (users, utilities, etc.).  Is there a way to do this?

Thanks again!

Seth
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Image that depends on another image

2014-08-21 Thread Seth Bollinger
Hello All,

Our device requires two images to be built.  Is there any way to have the
first image depend on the second image?

Thanks,

Seth
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Image that depends on another image

2014-08-21 Thread Christopher Larson
On Thu, Aug 21, 2014 at 5:08 PM, Seth Bollinger seth.b...@gmail.com wrote:

 Our device requires two images to be built.  Is there any way to have the
 first image depend on the second image?


do_rootfs[depends] += some-other-image:do_rootfs would probably do.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto