LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Executable modified by rpm?

[ILUG] Executable modified by rpm?

isdtor isdtor at gmail.com
Thu Feb 10 20:05:49 GMT 2011


On 10 February 2011 16:13, Darragh Bailey <felix at compsoc.nuigalway.ie> wrote:
> rpm build post scripts can end up modifying file contents, I find them
> probematic when trying to package prebuilt binary files.

Good call, Darragh. It looks like the executable is getting stripped.

The spec file I dug up sets export DONT_STRIP=1, but that's nothing
the rpm scripts on
CentOS use. I could set STRIP to some dummy program, but don't know
what to use so
the code doesn't error out. Maybe "true" will work.

for f in ... ; do $STRIP -g "$f" || : ; done

The code isn't executed if RPM_BUILD_ROOT isn't set, but I believe it
generally is.


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell