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 redhat com
https://www.redhat.com/mailman/listinfo/rpm-list