SVN: geninitrd/trunk/geninitrd

arekm arekm at pld-linux.org
Fri Jan 14 10:20:58 CET 2011


Author: arekm
Date: Fri Jan 14 10:20:57 2011
New Revision: 12051

Modified:
   geninitrd/trunk/geninitrd
Log:
Add COMPRESS=none/no support (uncompressed initrd).

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Fri Jan 14 10:20:57 2011
@@ -860,6 +860,11 @@
 			sym=unlzo
 			prog=/usr/bin/lzop
 			;;
+		none|no)
+			# any existing sym will work
+			sym=initrd_load
+			prog=/bin/cat
+			;;
 		*)
 			die "Unknown compressor $c"
 			;;
@@ -897,6 +902,9 @@
 	lzo)
 		lzop -9 < "$IMAGE" > "$tmp" || return $?
 		;;
+	none|no)
+		cat < "$IMAGE" > "$tmp" || return $?
+		;;
 	esac
 
 	mv -f "$tmp" "$target"


More information about the pld-cvs-commit mailing list