This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
RE: Patch for generic-build-script
- From: "Robb, Sam" <sam dot robb at timesys dot com>
- To: <cygwin-apps at cygwin dot com>
- Date: Thu, 12 Aug 2004 14:56:27 -0400
- Subject: RE: Patch for generic-build-script
> Good catch. I'd rather add the '-r' ('--no-run-if-empty') flag to the
> all of the xargs invocations, though.
Told you I wasn't familiar with xargs :-) I really need to spend some
time and get more comfortable with it.
> > - When compressing files using gzip as part of an install, adds
> > the -f flag to the gzip arguments to force compression.
> >
> > -Samrobb
>
> Why? Is it just to force compression of files that wouldn't
> benefit from
> it? Frankly, I'm not clear on why this is useful...
I ran into this becuase gzip was complining that a file had "too
many links" to compress. It also forces compression when the
resulting output file already exists. I was running into the
first problem - e2fsprogs installs some man pages, then creates
hard link to some of the man pages under a different name.
I'll be honest in that I'm not positive this is the right thing
to do in these situations (). If I understnad things correctly,
the warning is there to let you know that you're breaking a hard
link; but I'm not sure that's really an issue, aside from creating
a slightly larger binary package.
-Samrobb