]> git.pld-linux.org Git - packages/geninitrd.git/commitdiff
- rel 3; modules stripping support auto/th/geninitrd-12385-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 8 Nov 2011 21:10:09 +0000 (21:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    geninitrd-svn.patch -> 2.10
    geninitrd.spec -> 2.190

geninitrd-svn.patch
geninitrd.spec

index c7b3e7ffadc17312952df5afc4ec7f75cdbb3626..772ab8595e1c1cc6c383c1347e08c068bcc86c63 100644 (file)
@@ -80,3 +80,43 @@ Index: functions
                                        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 1ef21ae85a7cf79e269cb86e5445f319537ad5e1..75855aacf4c16c76b1a6b30ded18f7ad7d2091e5 100644 (file)
@@ -7,7 +7,7 @@ Summary:        Creates an initial ramdisk image for preloading modules
 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
This page took 0.041492 seconds and 4 git commands to generate.