[readonly/geninitrd/BUSYBOX: 7/113] - fix some typos - allow compressing cramfs images
draenog
draenog at pld-linux.org
Sat Nov 2 19:10:37 CET 2013
commit 03315813f1a11acbde976eea217a61c4e4e79ff6
Author: Artur Frysiak <artur at frysiak.net>
Date: Tue Nov 14 15:27:35 2000 +0000
- fix some typos
- allow compressing cramfs images
svn-id: @1159
geninitrd | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index ba8bd5d..67893e5 100755
--- a/geninitrd
+++ b/geninitrd
@@ -125,7 +125,7 @@ while [ $# -gt 0 ]; do
case $1 in
--fstab*)
if echo $1 | grep '=' >/dev/null ; then
- fstab=`echo $1 | sed 's/^--with=//'`
+ fstab=`echo $1 | sed 's/^--fstab=//'`
else
fstab=$2
shift
@@ -183,12 +183,11 @@ while [ $# -gt 0 ]; do
PROBEIDE="no";
;;
--fs)
- if echo $1 | grep '=' >/dev/null ; then
- FS=`echo $1 | sed 's/^--fs=//'`
- else
- FS=$2
- shift
- fi
+ FS=$2
+ shift
+ ;;
+ --fs*)
+ FS=`echo $1 | sed 's/^--fs=//'`
;;
--image-version)
img_vers=yes
@@ -456,7 +455,6 @@ case "$FS" in
;;
cram)
mkcramfs "$MNTPOINT" "$IMAGE"
- COMPRESS=no
;;
*)
echo "Filesystem $FS not supported by $0";
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/0999a53e93eedcf489380684b998ce04aaddf11c
More information about the pld-cvs-commit
mailing list