ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Ltib] exclude stripping of own created libraries and executables in


From: Bart Bogaerts
Subject: RE: [Ltib] exclude stripping of own created libraries and executables into LTIB
Date: Tue, 20 Apr 2010 10:12:33 +0200

Hi Stuart,

Thanks for the quick response.

It's the second case which strips our executables and libraries.

We think that we need to use the exclude option of the stripall binary, which 
will exclude our binaries.
Just looking for the correct syntax for the exclude pattern ? 
        # stipall -a -e *OTN*

Regards,
Bart

-----Original Message-----
From: Stuart Hughes [mailto:address@hidden 
Sent: Tuesday, April 20, 2010 10:03 AM
To: Bart Bogaerts
Cc: address@hidden
Subject: Re: [Ltib] exclude stripping of own created libraries and executables 
into LTIB

Hi Bart,

There are 2 occasions in LTIB that stripping occurs.

1/ During the rpm package build
2/ If you are building an image (jffs2, ramdisk).

In case 1, you can control stripping of your package by adjusting the
.spec file to include:
%define __os_install_post %{nil}

at the the beginning (see helloworld.spec for an example).  Note that
some packages include stripping in their own Makefiles, but I'm guessing
this is one of your own that you can control.

In the second case, if you are building an image, by default all
libs/binaries will be stripped.  You can turn this option off using
./ltib -m config.

If you need finer grain control during image creation, you'll have to
modify bin/Ltibutils.pm

Regards, Stuart

Bart Bogaerts wrote:
> Hello,
> 
>  
> 
> Is there a way to exclude stripping for some libraries and executables ?
> 
> We want to strip all except the our own executables and libraries which
> most of the time start with OTN* .
> 
>  
> 
> Regards
> 
> Bart
> 
>  
> 
>  
> 
> cid:image001.jpg@01C9EE9A.EC63D670
> 
> *Bogaerts Bart***
> 
> /Software Developer ///
> 
>       
> 
> *Mobile*:
> 
> *Fax*:
> 
> *Mail*:
> 
>       
> 
> +32 473 36 60 11
> 
> +32 14 25 20 23
> 
> address@hidden <mailto:address@hidden>
> 
>       
> 
> cid:image002.jpg@01C9EE9A.EC63D670
> 
> *OTN Systems NV***
> 
> Open Transport Network
> 
> Atealaan 34B
> 
> B-2200 HERENTALS, Belgium
> 
>       
> 
> *Web*:
> 
> *Web*:
> 
> *Info*:
> 
> *Support*:
> 
>       
> 
> www.otnsystems.com <http://www.otnsystems.com>
> 
> www.otn.be <http://www.otn.be>
> 
> address@hidden <mailto:address@hidden>
> 
> address@hidden <mailto:address@hidden>
> 
>       
> 
>  
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib




reply via email to

[Prev in Thread] Current Thread [Next in Thread]