All of lore.kernel.org
 help / color / mirror / Atom feed
* how to populate sysroot with dev packages.
@ 2013-11-12 15:36 Anup Kini
  2013-11-12 16:19 ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Anup Kini @ 2013-11-12 15:36 UTC (permalink / raw)
  To: OE-devel

Hi All,

I am trying to build package-B which needs a few files from package-A-dev
How do i deploy/install package-A-dev in sysroot such that when i build
package-B it can access those files.

I know that i can install dev-pkgs in the image but i would like to know
how to deploy them in the sysroot.

-- 


*Anup Kini*Systems Engineer
*------------------------------*

*Synapticon*  |  Cyber-Physical System Solutions

Mobile:

Direct:

+49 151 / 638 646 73

+49 7335 / 186 999 21

Fax:
+49 7335 / 186 999 1






synapticon.com <http://www.synapticon.com/>  |
@synapticon_co<https://twitter.com/#!/synapticon_co>

Synapticon GmbH  |  Hohlbachweg 2  |  73344 Gruibingen, DE
Secretary +49 7335 / 186 999 0  |  General Manager: Nikolai Ensslen
Registry Court Ulm HRB 725114  |  USt-ID DE271647127

This message and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are addressed.
Please notify the sender immediately if you have received this e-mail by
mistake and delete it from your system.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to populate sysroot with dev packages.
  2013-11-12 15:36 how to populate sysroot with dev packages Anup Kini
@ 2013-11-12 16:19 ` Richard Purdie
  2013-11-12 17:36   ` Anup Kini
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2013-11-12 16:19 UTC (permalink / raw)
  To: openembedded-devel

On Tue, 2013-11-12 at 16:36 +0100, Anup Kini wrote:
> Hi All,
> 
> I am trying to build package-B which needs a few files from package-A-dev
> How do i deploy/install package-A-dev in sysroot such that when i build
> package-B it can access those files.
> 
> I know that i can install dev-pkgs in the image but i would like to know
> how to deploy them in the sysroot.

The act of building A should put its output into the sysroot. You'd
therefore just need a DEPENDS = "A" in recipe B.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to populate sysroot with dev packages.
  2013-11-12 16:19 ` Richard Purdie
@ 2013-11-12 17:36   ` Anup Kini
  2013-11-12 21:56     ` Nicolas Dechesne
  0 siblings, 1 reply; 5+ messages in thread
From: Anup Kini @ 2013-11-12 17:36 UTC (permalink / raw)
  To: OE-devel

I did try that, but it does not add the A-dev.deb.
It will only deploy the A.deb files.

I want to populate the A-dev.deb also...


On 12 November 2013 17:19, Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Tue, 2013-11-12 at 16:36 +0100, Anup Kini wrote:
> > Hi All,
> >
> > I am trying to build package-B which needs a few files from package-A-dev
> > How do i deploy/install package-A-dev in sysroot such that when i build
> > package-B it can access those files.
> >
> > I know that i can install dev-pkgs in the image but i would like to know
> > how to deploy them in the sysroot.
>
> The act of building A should put its output into the sysroot. You'd
> therefore just need a DEPENDS = "A" in recipe B.
>
> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



-- 


*Anup Kini*Systems Engineer
*------------------------------*

*Synapticon*  |  Cyber-Physical System Solutions

Mobile:

Direct:

+49 151 / 638 646 73

+49 7335 / 186 999 21

Fax:
+49 7335 / 186 999 1






synapticon.com <http://www.synapticon.com/>  |
@synapticon_co<https://twitter.com/#!/synapticon_co>

Synapticon GmbH  |  Hohlbachweg 2  |  73344 Gruibingen, DE
Secretary +49 7335 / 186 999 0  |  General Manager: Nikolai Ensslen
Registry Court Ulm HRB 725114  |  USt-ID DE271647127

This message and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are addressed.
Please notify the sender immediately if you have received this e-mail by
mistake and delete it from your system.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to populate sysroot with dev packages.
  2013-11-12 17:36   ` Anup Kini
@ 2013-11-12 21:56     ` Nicolas Dechesne
  2013-11-12 23:07       ` Anup Kini
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Dechesne @ 2013-11-12 21:56 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Nov 12, 2013 at 6:36 PM, Anup Kini <akini@synapticon.com> wrote:

> I did try that, but it does not add the A-dev.deb.
> It will only deploy the A.deb files.
>
> I want to populate the A-dev.deb also...
>
>
i think you might be confused between sysroot and image (or rootfs) here,
no? what is it that you are calling 'sysroot'? in fact packages (e.g. .deb
files) are not installed in the sysroot, but in images. sysroot is being
populated independently of packages. on the other hand A-dev.deb would
indeed not be installed by default in an image that you create, unless you
specifically add the package to IMAGE_INSTALL.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to populate sysroot with dev packages.
  2013-11-12 21:56     ` Nicolas Dechesne
@ 2013-11-12 23:07       ` Anup Kini
  0 siblings, 0 replies; 5+ messages in thread
From: Anup Kini @ 2013-11-12 23:07 UTC (permalink / raw)
  To: OE-devel

I should have explained more clearly before.

I am trying to build ethercat master software with realtime feature for
xenomai enabled.
I first installed xenomai, but few of the files from the bin are picked and
placed in the xenomai-dev.deb

While building ethercat i need to provide the xenomai root dir i.e
xenomai-dir=${STAGING_DIR}/usr
STAGING_DIR = build/tmp/sysroot/$MACHINE/usr/bin/  -- (this is the sysroot
i mentioned in the previous mail)
I want to place xenomai-dev files also in the STAGING_DIR so that ethercat
pick those files too.

Kindly help me how to fix this.


On 12 November 2013 22:56, Nicolas Dechesne <nicolas.dechesne@linaro.org>wrote:

> On Tue, Nov 12, 2013 at 6:36 PM, Anup Kini <akini@synapticon.com> wrote:
>
> > I did try that, but it does not add the A-dev.deb.
> > It will only deploy the A.deb files.
> >
> > I want to populate the A-dev.deb also...
> >
> >
> i think you might be confused between sysroot and image (or rootfs) here,
> no? what is it that you are calling 'sysroot'? in fact packages (e.g. .deb
> files) are not installed in the sysroot, but in images. sysroot is being
> populated independently of packages. on the other hand A-dev.deb would
> indeed not be installed by default in an image that you create, unless you
> specifically add the package to IMAGE_INSTALL.
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



-- 


*Anup Kini*Systems Engineer
*------------------------------*

*Synapticon*  |  Cyber-Physical System Solutions

Mobile:

Direct:

+49 151 / 638 646 73

+49 7335 / 186 999 21

Fax:
+49 7335 / 186 999 1






synapticon.com <http://www.synapticon.com/>  |
@synapticon_co<https://twitter.com/#!/synapticon_co>

Synapticon GmbH  |  Hohlbachweg 2  |  73344 Gruibingen, DE
Secretary +49 7335 / 186 999 0  |  General Manager: Nikolai Ensslen
Registry Court Ulm HRB 725114  |  USt-ID DE271647127

This message and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are addressed.
Please notify the sender immediately if you have received this e-mail by
mistake and delete it from your system.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-12 23:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12 15:36 how to populate sysroot with dev packages Anup Kini
2013-11-12 16:19 ` Richard Purdie
2013-11-12 17:36   ` Anup Kini
2013-11-12 21:56     ` Nicolas Dechesne
2013-11-12 23:07       ` Anup Kini

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.