Hi Paul,
Thanks for your answer.
I checked the file before and after the packaging.
Before packaging:
tts file : ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
Size : 16593751 Nov 9 tts_file
After rpm installation:
tts file : ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
Size : 3732676 Nov 15 07:00 tts file
They are not stripped.
Thanks
----- Original Message ----
From: Paul Nasrat <pnasrat@xxxxxxxxxx>
To: RPM Package Manager <rpm-list@xxxxxxxxxx>
Sent: Wednesday, November 15, 2006 4:58:02 AM
Subject: Re: Packaging Problem
From: Paul Nasrat <pnasrat@xxxxxxxxxx>
To: RPM Package Manager <rpm-list@xxxxxxxxxx>
Sent: Wednesday, November 15, 2006 4:58:02 AM
Subject: Re: Packaging Problem
On Tue, 2006-11-14 at 11:22 -0800, Kamel Hamard wrote:
> Hi guys,
>
> Actually, I have probleme to packaging a system.
> I'm able to get the rpm file but the binary files included in the rpm
> files dont have the same size anymore.
file(1) is your friend:
Check your original and final file types I expect something like:
file example
example: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux
2.6.9, not stripped
file /tmp/xxx/example
example: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux
2.6.9, stripped
Note the change in stripped status between the two - stripped in RPM
payload vs non-stripped, RPM strips binaries.
The call is done via __spec_install_post, depending on whether debuginfo
is generated it'll be done in __debug_install_post or
__os_install_post. Search the archives for how to disable this.
Paul
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list
> Hi guys,
>
> Actually, I have probleme to packaging a system.
> I'm able to get the rpm file but the binary files included in the rpm
> files dont have the same size anymore.
file(1) is your friend:
Check your original and final file types I expect something like:
file example
example: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux
2.6.9, not stripped
file /tmp/xxx/example
example: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux
2.6.9, stripped
Note the change in stripped status between the two - stripped in RPM
payload vs non-stripped, RPM strips binaries.
The call is done via __spec_install_post, depending on whether debuginfo
is generated it'll be done in __debug_install_post or
__os_install_post. Search the archives for how to disable this.
Paul
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list
Sponsored Link
Don't quit your job - take classes online and earn your degree in 1 year. Start Today
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list