Module Name: src
Committed By: riz
Date: Wed Feb 20 18:33:37 UTC 2013
Modified Files:
src/distrib/utils/embedded/conf: beagleboard.conf rpi.conf
Log Message:
Use "gzip -dc" instead of "zcat" - some versions of zcat don't grok
gzip.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/distrib/utils/embedded/conf/beagleboard.conf
cvs rdiff -u -r1.18 -r1.19 src/distrib/utils/embedded/conf/rpi.conf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/embedded/conf/beagleboard.conf
diff -u src/distrib/utils/embedded/conf/beagleboard.conf:1.10 src/distrib/utils/embedded/conf/beagleboard.conf:1.11
--- src/distrib/utils/embedded/conf/beagleboard.conf:1.10 Sun Feb 17 20:49:16 2013
+++ src/distrib/utils/embedded/conf/beagleboard.conf Wed Feb 20 18:33:37 2013
@@ -1,4 +1,4 @@
-# $NetBSD: beagleboard.conf,v 1.10 2013/02/17 20:49:16 jmcneill Exp $
+# $NetBSD: beagleboard.conf,v 1.11 2013/02/20 18:33:37 riz Exp $
# BeagleBoard customization script used by mkimage
#
board=beagleboard
@@ -40,7 +40,7 @@ EOF
echo "${bar} installing BEAGLEBOARD kernel to /boot ${bar}"
case "${kernel}" in
*.gz)
- zcat "${kernel}" > "${mnt}/boot/${kernelimg}"
+ gzip -dc "${kernel}" > "${mnt}/boot/${kernelimg}"
;;
*)
cp "${kernel}" "${mnt}/boot/${kernelimg}"
Index: src/distrib/utils/embedded/conf/rpi.conf
diff -u src/distrib/utils/embedded/conf/rpi.conf:1.18 src/distrib/utils/embedded/conf/rpi.conf:1.19
--- src/distrib/utils/embedded/conf/rpi.conf:1.18 Sun Feb 17 20:49:16 2013
+++ src/distrib/utils/embedded/conf/rpi.conf Wed Feb 20 18:33:37 2013
@@ -1,4 +1,4 @@
-# $NetBSD: rpi.conf,v 1.18 2013/02/17 20:49:16 jmcneill Exp $
+# $NetBSD: rpi.conf,v 1.19 2013/02/20 18:33:37 riz Exp $
# Raspberry Pi customization script used by mkimage
#
@@ -44,7 +44,7 @@ EOF
echo "${bar} installing kernel ${bar}"
case ${kernel} in
*.gz)
- zcat ${kernel} > ${mnt}/boot/kernel.img
+ gzip -dc ${kernel} > ${mnt}/boot/kernel.img
;;
*)
cp ${kernel} ${mnt}/boot/kernel.img