From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B81D0E00B0B; Tue, 30 May 2017 06:35:28 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [195.74.38.229 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 64 seconds by postgrey-1.32 at yocto-www; Tue, 30 May 2017 06:35:25 PDT Received: from bin-vsp-out-01.atm.binero.net (bin-mail-out-06.binero.net [195.74.38.229]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 28051E00953 for ; Tue, 30 May 2017 06:35:24 -0700 (PDT) X-Halon-ID: ae123767-453c-11e7-b757-005056917a89 Authorized-sender: petter@technux.se Received: from webmail.binero.se (unknown [195.74.38.9]) by bin-vsp-out-01.atm.binero.net (Halon Mail Gateway) with ESMTPA; Tue, 30 May 2017 15:34:17 +0200 (CEST) MIME-Version: 1.0 Date: Tue, 30 May 2017 15:34:41 +0200 From: =?UTF-8?Q?Petter_Mab=C3=A4cker?= To: Yocto , Organization: Technux Mail-Reply-To: In-Reply-To: References: <1496069912.26945.37.camel@linux.intel.com> Message-ID: <1416da32375ee235be7a29c5d575fab9@technux.se> X-Sender: petter@technux.se User-Agent: Binero Webmail/0.8.4 Subject: Re: How to install dbg package and not its dependencies? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: petter@technux.se List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2017 13:35:28 -0000 Content-Type: multipart/alternative; boundary="=_7caaf8ce16672b1e5e07ee50a425d30a" --=_7caaf8ce16672b1e5e07ee50a425d30a Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 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 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 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 --=_7caaf8ce16672b1e5e07ee50a425d30a Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Hi,

If the problem is the footprint, then you can add below line in the libe= xample recipe:

INHIBIT_PACKAGE_DEBUG_SPLIT =3D "1"

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

BR Petter

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

 

Petter Mabäcker

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

2017-05-30 04:17 skrev Ng=E1=BB=8Dc Thi Hu=E1=BB=B3nh:

I have both app-example-dbg & app-exa= mple in IMAGE_INSTALL and the result is app-example-dbg & app-example &= amp; libexample-dbg & libexample are included in the final image.

Hu=E1=BB=B3nh Ng=E1=BB=8Dc Thi
-so61pi

On Mon, May 29, 2017 at 9:58 PM, Leonardo Sandov= al <= leonardo.sandoval.gonzalez@linux.intel.com> wrote:
On Sun, 2017-05-28 at 17:23= +0700, Ng=E1=BB=8Dc Thi Hu=E1=BB=B3nh wrote:
> Hi everyone,
= >
>
> Let's say I have app-example package which depe= nds on libexample.
>
> When I add app-example-dbg to IMAG= E_INSTALL, libexample-dbg package is
> automatically included in t= he final image which makes the image size
> become bigger.
&= gt;
what about installing the non-dbg ones?
>
> In this case, is there a way to prevent l= ibexample-dbg from being
> installed?
>
>
= > Thanks,
>
> Thi Huynh
>
> --
> _= ______________________________________________
> yocto mailing lis= t
> yocto@yoctoproject= =2Eorg
> https://lists.yoctoproject.org/listinfo/yocto


--=_7caaf8ce16672b1e5e07ee50a425d30a--