[buildroot 0000971]: zcat vs. gunzip (host system portability)
bugs at busybox.net
bugs at busybox.net
Sun Oct 1 15:18:54 UTC 2006
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=971
======================================================================
Reported By: wiml
Assigned To: uClibc
======================================================================
Project: buildroot
Issue ID: 971
Category: Other
Reproducibility: always
Severity: block
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 07-25-2006 21:31 PDT
Last Modified: 10-01-2006 08:18 PDT
======================================================================
Summary: zcat vs. gunzip (host system portability)
Description:
As the man page for (g)zcat mentions, zcat is identical to gunzip -c,
except that zcat might not be installed on some systems (or might be the
old 'compress' zcat instead of the GNU zip gzcat). Darwin / MacOS is one
such.
Using gunzip -c should work everywhere. A patch is attached.
======================================================================
----------------------------------------------------------------------
bernhardf - 10-01-06 08:09
----------------------------------------------------------------------
Can you please update your patch to take $(BR2_ZCAT) into account -- i.e
use that instead of hardcoding 'gunzip -c'?
TIA
diff -r16280:16281 looks like this, FYI:
Index: Config.in
===================================================================
--- Config.in (revision 16280)
+++ Config.in (revision 16281)
@@ -180,6 +180,16 @@
string "Subversion (svn) checkout command"
default "svn co"
+config BR2_ZCAT
+ string "zcat command"
+ default "zcat"
+ help
+ Command to be used to extract a gzip'ed file to stdout.
+ zcat is identical to gunzip -c except that the former may
+ not be available on your system.
+ Default is "zcat"
+ Other possible values include "gunzip -c"
+
config BR2_TAR_OPTIONS
string "Tar options"
default ""
----------------------------------------------------------------------
bernhardf - 10-01-06 08:18
----------------------------------------------------------------------
I did that change for you, please test r16282 or later and report back.
Thanks,
Bernhard
Issue History
Date Modified Username Field Change
======================================================================
07-25-06 21:31 wiml New Issue
07-25-06 21:31 wiml Status new => assigned
07-25-06 21:31 wiml Assigned To => uClibc
07-25-06 21:31 wiml File Added: zcat.patch
10-01-06 08:09 bernhardf Note Added: 0001682
10-01-06 08:18 bernhardf Status assigned => closed
10-01-06 08:18 bernhardf Note Added: 0001683
======================================================================
More information about the uClibc-cvs
mailing list