SOURCES: mkvmlinuz - fixed miboot, killed leading spaces/tabs - co...

sparky sparky at pld-linux.org
Fri Oct 21 17:11:55 CEST 2005


Author: sparky                       Date: Fri Oct 21 15:11:54 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixed miboot, killed leading spaces/tabs
- confirmed to work on Pegasos 2 (Grzegorz Szwarc)

---- Files affected:
SOURCES:
   mkvmlinuz (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/mkvmlinuz
diff -u SOURCES/mkvmlinuz:1.1 SOURCES/mkvmlinuz:1.2
--- SOURCES/mkvmlinuz:1.1	Wed Oct 12 00:58:56 2005
+++ SOURCES/mkvmlinuz	Fri Oct 21 17:11:49 2005
@@ -10,7 +10,7 @@
 usage() {
 	cat << EOF
 usage: $(basename $0) [options] <output-image> <kernel-version>
-(ex: $(basename $0) /boot/zImage-2.6.13.3-1.pmac 2.6.13.3-1)  
+(ex: $(basename $0) /boot/zImage-2.6.13.3-1.pmac 2.6.13.3-1)
 
 <output-image>   - path to output file for compressed kernel image
 <kernel-version> - kernel version-release
@@ -103,7 +103,7 @@
 				version=$1
 			else
 				usage
-			fi				
+			fi
 			;;
 	esac
 	shift
@@ -207,7 +207,7 @@
 		;;
 	*)
 		error 20 "Unrecognized arch $arch"
-		;;	
+		;;
 esac
 
 # create a work directory
@@ -246,10 +246,11 @@
 		cat $workdir/image.o > $output && \
 			echo "*** kernel saved in $output succesfully ***" || \
 			err 21
-			
+		
 		is_yes "$verbose" && echo "=== Cleaning up..."
 		rm -rf $workdir
-	fi						
+	fi
+	exit
 fi
 
 RMSECT=
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mkvmlinuz?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list