All of lore.kernel.org
 help / color / mirror / Atom feed
* How to install dbg package and not its dependencies?
@ 2017-05-28 10:23 Ngọc Thi Huỳnh
  2017-05-29 14:58 ` Leonardo Sandoval
  0 siblings, 1 reply; 5+ messages in thread
From: Ngọc Thi Huỳnh @ 2017-05-28 10:23 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

Hi everyone,

Let's say I have app-example package which depends on libexample.

When I add app-example-dbg to IMAGE_INSTALL, libexample-dbg package is
automatically included in the final image which makes the image size become
bigger.

In this case, is there a way to prevent libexample-dbg from being installed?

Thanks,
Thi Huynh

[-- Attachment #2: Type: text/html, Size: 548 bytes --]

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

* Re: How to install dbg package and not its dependencies?
  2017-05-28 10:23 How to install dbg package and not its dependencies? Ngọc Thi Huỳnh
@ 2017-05-29 14:58 ` Leonardo Sandoval
  2017-05-30  2:17   ` Ngọc Thi Huỳnh
  0 siblings, 1 reply; 5+ messages in thread
From: Leonardo Sandoval @ 2017-05-29 14:58 UTC (permalink / raw)
  To: Ngọc Thi Huỳnh; +Cc: yocto

On Sun, 2017-05-28 at 17:23 +0700, Ngọc Thi Huỳnh wrote:
> Hi everyone,
> 
> 
> Let's say I have app-example package which depends on libexample.
> 
> When I add app-example-dbg to IMAGE_INSTALL, libexample-dbg package is
> automatically included in the final image which makes the image size
> become bigger.
> 
what about installing the non-dbg ones?
> 
> In this case, is there a way to prevent libexample-dbg from being
> installed?
> 
> 
> Thanks,
> 
> Thi Huynh
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




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

* Re: How to install dbg package and not its dependencies?
  2017-05-29 14:58 ` Leonardo Sandoval
@ 2017-05-30  2:17   ` Ngọc Thi Huỳnh
  2017-05-30 13:34     ` Petter Mabäcker
  0 siblings, 1 reply; 5+ messages in thread
From: Ngọc Thi Huỳnh @ 2017-05-30  2:17 UTC (permalink / raw)
  To: Leonardo Sandoval; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

I have both app-example*-dbg* & app-example in IMAGE_INSTALL and the result
is app-example-dbg & app-example & libexample-dbg & libexample are included
in the final image.

Huỳnh Ngọc Thi
-so61pi

On Mon, May 29, 2017 at 9:58 PM, Leonardo Sandoval <
leonardo.sandoval.gonzalez@linux.intel.com> wrote:

> On Sun, 2017-05-28 at 17:23 +0700, Ngọc Thi Huỳnh wrote:
> > Hi everyone,
> >
> >
> > Let's say I have app-example package which depends on libexample.
> >
> > When I add app-example-dbg to IMAGE_INSTALL, libexample-dbg package is
> > automatically included in the final image which makes the image size
> > become bigger.
> >
> what about installing the non-dbg ones?
> >
> > In this case, is there a way to prevent libexample-dbg from being
> > installed?
> >
> >
> > Thanks,
> >
> > Thi Huynh
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
>
>

[-- Attachment #2: Type: text/html, Size: 1880 bytes --]

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

* Re: How to install dbg package and not its dependencies?
  2017-05-30  2:17   ` Ngọc Thi Huỳnh
@ 2017-05-30 13:34     ` Petter Mabäcker
  2017-05-31 14:25       ` Ngọc Thi Huỳnh
  0 siblings, 1 reply; 5+ messages in thread
From: Petter Mabäcker @ 2017-05-30 13:34 UTC (permalink / raw)
  To: Yocto, so61pi.re

[-- Attachment #1: Type: text/plain, Size: 1622 bytes --]

 

Hi, 

If the problem is the footprint, then you can add below line
in the libexample recipe: 

INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 

This
will prevent the build system from adding any debug info in the
libexample-dbg package. 

BR Petter 

[1] -
http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-INHIBIT_PACKAGE_DEBUG_SPLIT


Petter Mabäcker

Technux
<petter@technux.se>
www.technux.se

2017-05-30 04:17 skrev Ngọc Thi
Huỳnh: 

> I have both app-example-DBG & app-example in IMAGE_INSTALL
and the result is app-example-dbg & app-example & libexample-dbg &
libexample are included in the final image. 
> 
> Huỳnh Ngọc Thi
> 
>
-so61pi 
> 
> On Mon, May 29, 2017 at 9:58 PM, Leonardo Sandoval
<leonardo.sandoval.gonzalez@linux.intel.com> wrote:
> 
>> On Sun,
2017-05-28 at 17:23 +0700, Ngọc Thi Huỳnh wrote:
>> > Hi everyone,
>>
>
>> >
>> > Let's say I have app-example package which depends on
libexample.
>> >
>> > When I add app-example-dbg to IMAGE_INSTALL,
libexample-dbg package is
>> > automatically included in the final image
which makes the image size
>> > become bigger.
>> >
>> what about
installing the non-dbg ones?
>> 
>>> 
>> > In this case, is there a way
to prevent libexample-dbg from being
>> > installed?
>> >
>> >
>> >
Thanks,
>> >
>> > Thi Huynh
>> > > --
>> >
_______________________________________________
>> > yocto mailing
list
>> > yocto@yoctoproject.org
>> >
https://lists.yoctoproject.org/listinfo/yocto [1]
 

Links:
------
[1]
https://lists.yoctoproject.org/listinfo/yocto

[-- Attachment #2: Type: text/html, Size: 2715 bytes --]

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

* Re: How to install dbg package and not its dependencies?
  2017-05-30 13:34     ` Petter Mabäcker
@ 2017-05-31 14:25       ` Ngọc Thi Huỳnh
  0 siblings, 0 replies; 5+ messages in thread
From: Ngọc Thi Huỳnh @ 2017-05-31 14:25 UTC (permalink / raw)
  To: petter; +Cc: Yocto

[-- Attachment #1: Type: text/plain, Size: 1727 bytes --]

Thank you very much, setting that flag helped!

Huỳnh Ngọc Thi
-so61pi

On Tue, May 30, 2017 at 8:34 PM, Petter Mabäcker <petter@technux.se> wrote:

> Hi,
>
> If the problem is the footprint, then you can add below line in the
> libexample recipe:
>
> INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
>
> This will prevent the build system from adding any debug info in the
> libexample-dbg package.
>
> BR Petter
>
> [1] - http://www.yoctoproject.org/docs/current/ref-manual/ref-
> manual.html#var-INHIBIT_PACKAGE_DEBUG_SPLIT
>
>
>
> Petter Mabäcker
>
> Technux <petter@technux.se>www.technux.se
>
> 2017-05-30 04:17 skrev Ngọc Thi Huỳnh:
>
> I have both app-example*-dbg* & app-example in IMAGE_INSTALL and the
> result is app-example-dbg & app-example & libexample-dbg & libexample are
> included in the final image.
>
> Huỳnh Ngọc Thi
> -so61pi
>
> On Mon, May 29, 2017 at 9:58 PM, Leonardo Sandoval <
> leonardo.sandoval.gonzalez@linux.intel.com> wrote:
>
>> On Sun, 2017-05-28 at 17:23 +0700, Ngọc Thi Huỳnh wrote:
>> > Hi everyone,
>> >
>> >
>> > Let's say I have app-example package which depends on libexample.
>> >
>> > When I add app-example-dbg to IMAGE_INSTALL, libexample-dbg package is
>> > automatically included in the final image which makes the image size
>> > become bigger.
>> >
>> what about installing the non-dbg ones?
>> >
>> > In this case, is there a way to prevent libexample-dbg from being
>> > installed?
>> >
>> >
>> > Thanks,
>> >
>> > Thi Huynh
>> >
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>>

[-- Attachment #2: Type: text/html, Size: 3526 bytes --]

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

end of thread, other threads:[~2017-05-31 14:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-28 10:23 How to install dbg package and not its dependencies? Ngọc Thi Huỳnh
2017-05-29 14:58 ` Leonardo Sandoval
2017-05-30  2:17   ` Ngọc Thi Huỳnh
2017-05-30 13:34     ` Petter Mabäcker
2017-05-31 14:25       ` Ngọc Thi Huỳnh

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.