[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to change the strip behaviuor
- From: Stephen Smoogen <smoogen lanl gov>
- To: rpm-list redhat com
- Subject: Re: How to change the strip behaviuor
- Date: Wed, 3 Sep 2003 18:01:53 -0600 (MDT)
On Wed, 3 Sep 2003, Jeff Johnson wrote:
>Stephen Smoogen wrote:
>
>>Is there a way to turn off brp-strip altogether? I have to make source
>>only packages and it causes some apps to not work because they do md5
>>checks of themselves.
>>
>>
>
>Strip behavior (and all build root policy scripts) is configured in
>
>>%__os_install_post \
>> /usr/lib/rpm/brp-compress \
>> /usr/lib/rpm/brp-strip \
>> /usr/lib/rpm/brp-strip-static-archive \
>> /usr/lib/rpm/brp-strip-comment-note \
>>%{nil}
>>
>>
>which is appended to %installl scriptlet. Redefine in /etc/rpm/macros or
>~/.rpmmacros if necessary.
>
>Hmmm, but something else is wrong if you have to mess with stripping
>on "source only" packages. I'm not sure what "md5 checks" means.
>
Well the first thing wrong is I am messing with source-only packages
(well I am trying to get away from cfengine copying various virus
wathchers and oracle thingamabobees and to where cfengine just
installs the correct rpm).
The second is probably ignorance on my part of doing a source only
package. I cant figure out how to get .nosrc.rpm to happen so I am
basically putting the binary in a tar ball and telling the spec file to
untar, copy the file over, and then make an rpm.
The third problem is that one of the programs seems to have some sort of
hash checker on itself. If that doesnt pass it will not run (error of
binary possibly corrupted). Since the sizes of the files are different
after brb-strip runs on it.. I am guessing it either checks the size of
its own binary or something similar (md5sum).
I am waiting for the new RPM book to arrive here... it takes forever for
government orders at the end of the fiscal year.
--
Stephen John Smoogen smoogen@lanl.gov
Los Alamos National Labrador CCN-5 Sched 5/40 PH: 5-8058
Ta-03 SM-261 MailStop P208 DP 17U Los Alamos, NM 87545
-- So shines a good deed in a weary world. = Willy Wonka --
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]