packages: geninitrd/geninitrd-svn.patch, geninitrd/geninitrd.spec - rel 3; ...

arekm arekm at pld-linux.org
Tue Nov 8 22:10:14 CET 2011


Author: arekm                        Date: Tue Nov  8 21:10:14 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3; modules stripping support

---- Files affected:
packages/geninitrd:
   geninitrd-svn.patch (2.9 -> 2.10) , geninitrd.spec (2.189 -> 2.190) 

---- Diffs:

================================================================
Index: packages/geninitrd/geninitrd-svn.patch
diff -u packages/geninitrd/geninitrd-svn.patch:2.9 packages/geninitrd/geninitrd-svn.patch:2.10
--- packages/geninitrd/geninitrd-svn.patch:2.9	Wed Oct 26 21:59:19 2011
+++ packages/geninitrd/geninitrd-svn.patch	Tue Nov  8 22:10:09 2011
@@ -80,3 +80,43 @@
  					BEGIN      { skip_modules[1]=""; modules[1]=""; xhci=""; ehci=""; ohci=""; uhci="" }
  					/^Slot:/   { found=0 }
  					/^Class:/  { if (req_class == $2) { found=1 } }
+Index: geninitrd
+===================================================================
+--- geninitrd	(wersja 12408)
++++ geninitrd	(kopia robocza)
+@@ -18,6 +18,7 @@
+ # list of geninitrd modules which need setup routine after commandline args parsing
+ GENINITRD_MODS=""
+ COMPRESS=yes
++STRIP=yes
+ target=""
+ kernel=""
+ force=""
+@@ -47,6 +48,7 @@
+ 	echo "Usage: $PROGRAM [--version] [-v] [-f] [--ifneeded] [--preload <module>]"
+ 	echo "       [--with=<module>] [--image-version] [--fstab=<fstab>] [--nocompress]"
+ 	echo "       [--compress=yes|xz|lzma|bzip2|gzip|lzo]"
++	echo "       [--nostrip ]"
+ 	echo "       [--initrdfs=rom|initramfs|ext2|cram] [--modules-conf=<modules.conf>]"
+ 	echo "       [--with-bootsplash] [--without-bootsplash]"
+ 	echo "       [--with-fbsplash] [--without-fbsplash]"
+@@ -630,6 +632,9 @@
+ 		inst_d "/lib/modules/$kernel/$MODULEDIR"
+ 		cp -a "/lib/modules/$kernel/$mod" "$DESTDIR/lib/modules/$kernel/$mod"
+ 		gunzip "$DESTDIR/lib/modules/$kernel/$mod" 2> /dev/null
++		if [ -x /usr/bin/strip ] && is_yes "$STRIP"; then
++			/usr/bin/strip --strip-unneeded --remove-section=.comment --remove-section=.note.GNU-stack "$DESTDIR/lib/modules/$kernel/$mod"
++		fi
+ 	done
+ }
+ 
+@@ -1017,6 +1022,9 @@
+ 	--nocompress)
+ 		COMPRESS=no
+ 		;;
++	--nostrip)
++		STRIP=no
++		;;
+ 	--ifneeded)
+ 		ifneeded=1
+ 		;;

================================================================
Index: packages/geninitrd/geninitrd.spec
diff -u packages/geninitrd/geninitrd.spec:2.189 packages/geninitrd/geninitrd.spec:2.190
--- packages/geninitrd/geninitrd.spec:2.189	Wed Oct 26 21:55:53 2011
+++ packages/geninitrd/geninitrd.spec	Tue Nov  8 22:10:09 2011
@@ -8,7 +8,7 @@
 Summary(pl.UTF-8):	Narzędzie do tworzenia inicjalnego ramdysku używanego przy starcie systemu
 Name:		geninitrd
 Version:	12385
-Release:	2
+Release:	3
 License:	GPL
 Group:		Applications/System
 Source0:	%{name}-%{version}.tar.gz
@@ -125,6 +125,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 2.190  2011/11/08 21:10:09  arekm
+- rel 3; modules stripping support
+
 Revision 2.189  2011/10/26 19:55:53  arekm
 - rel 2; replace buggy shell code for find_modules_by_class and use lspci only.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/geninitrd/geninitrd-svn.patch?r1=2.9&r2=2.10&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/geninitrd/geninitrd.spec?r1=2.189&r2=2.190&f=u



More information about the pld-cvs-commit mailing list