From 382cfb29eec8f47e0f8a325ac88a1f390201b973 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sat, 3 Dec 2011 15:38:55 +0000 Subject: [PATCH] - rel 5; conservative kernel modules stripping Changed files: geninitrd-svn.patch -> 2.12 geninitrd.spec -> 2.193 --- geninitrd-svn.patch | 2 +- geninitrd.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/geninitrd-svn.patch b/geninitrd-svn.patch index fe11a36..1b02ea2 100644 --- a/geninitrd-svn.patch +++ b/geninitrd-svn.patch @@ -106,7 +106,7 @@ Index: geninitrd gunzip "$DESTDIR/lib/modules/$kernel/$mod" 2> /dev/null + if [ "$STRIP" ] ; then + mod_nocomp=${mod%.gz} -+ $STRIP --strip-unneeded --remove-section=.comment --remove-section=.note.GNU-stack "$DESTDIR/lib/modules/$kernel/$mod_nocomp" ++ $STRIP -g --remove-section=.comment "$DESTDIR/lib/modules/$kernel/$mod_nocomp" + fi done } diff --git a/geninitrd.spec b/geninitrd.spec index 5d53556..4f81c44 100644 --- a/geninitrd.spec +++ b/geninitrd.spec @@ -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: 4 +Release: 5 License: GPL Group: Applications/System Source0: %{name}-%{version}.tar.gz -- 2.44.0