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

Re: stripping by upstream



Kevin Coyner <kevin@rustybear.com> writes:

> Recently I've had a bug filed against a few of my packages about
> final binaries being stripped even though DEB_BUILD_OPTIONS=nostrip
> is set (in an autobuild process). The bug goes on to say that it
> could be that upstream is stripping the files.
>
> Such is the case with my packages. Upstream does strip in the
> Makefile. Aside from editing the Makefile using dpatch, is there
> anything else that is easily done to correct this? I know this seems
> straightforward, but I just wanted to ask before I start editing
> upstream where before it was left untouched.
>
> Thanks.

The only other option I can think of is shipping a wrapper in

debian/bin/install

and setting PATH=$(top_dir)/debian/bin:$PATH

Is that better than patching the Makefile? In ifstat I just patched
the -s away. Only one occurance and only a Makefile.in. Seemed
simpler. But with more complex sources a wrapper might be way less
code.

MfG
        Goswin

PS: don't forget chmod u+x debian/bin/install



Reply to: