[packages/geninitrd] - rel 3; handle ehci-pci module

arekm arekm at pld-linux.org
Thu Apr 25 09:02:43 CEST 2013


commit 7ba08d052e64d4c9582df68332b902fb2330d216
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Apr 25 09:02:39 2013 +0200

    - rel 3; handle ehci-pci module

 geninitrd-svn.patch | 42 +++++++++++++++++++++++++++++++++++++++++-
 geninitrd.spec      |  2 +-
 2 files changed, 42 insertions(+), 2 deletions(-)
---
diff --git a/geninitrd.spec b/geninitrd.spec
index fa0ac10..e5b6440 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:	12639
-Release:	2
+Release:	3
 License:	GPL
 Group:		Applications/System
 Source0:	%{name}-%{version}.tar.gz
diff --git a/geninitrd-svn.patch b/geninitrd-svn.patch
index 437419b..00bd564 100644
--- a/geninitrd-svn.patch
+++ b/geninitrd-svn.patch
@@ -1,7 +1,7 @@
 Index: geninitrd
 ===================================================================
 --- geninitrd	(wersja 12652)
-+++ geninitrd	(wersja 12653)
++++ geninitrd	(wersja 12654)
 @@ -388,6 +388,10 @@
  					find_depmod "-crc32c-intel"
  					find_depmod "-crc32c"
@@ -13,3 +13,43 @@ Index: geninitrd
  			esac
  
  			echo $modpath
+Index: functions
+===================================================================
+--- functions	(wersja 12652)
++++ functions	(wersja 12654)
+@@ -212,6 +212,8 @@
+ 			module=$1
+ 			if (module == "xhci_hcd") {
+ 				xhci="xhci_hcd"
++			} else if (module == "ehci_pci") {
++				ehci_pci="ehci_pci"
+ 			} else if (module == "ehci_hcd") {
+ 				ehci="ehci_hcd"
+ 			} else if (module == "ohci_hcd") {
+@@ -225,7 +227,7 @@
+ 		}
+ 		END {
+ 			# xhci/ehci/ohci/uhci hack to preserve such order
+-			printf "%s %s %s %s ", xhci, ehci, ohci, uhci;
++			printf "%s %s %s %s %s ", xhci, ehci_pci, ehci, ohci, uhci;
+ 			for (i in modules) { printf "%s ", modules[i]; };
+ 		}
+ 	'
+@@ -262,6 +264,8 @@
+ 				module = $2;
+ 				if (module == "xhci_hcd") {
+ 					xhci = "xhci_hcd"
++				} else if (module == "ehci_pci") {
++					ehci_pci="ehci_pci"
+ 				} else if (module == "ehci_hcd") {
+ 					ehci = "ehci_hcd"
+ 				} else if (module == "ohci_hcd") {
+@@ -277,7 +281,7 @@
+ 		}
+ 		END {
+ 		   # xhci/ehci/ohci/uhci hack to preserve such order
+-		   printf "%s %s %s %s ", xhci, ehci, ohci, uhci;
++		   printf "%s %s %s %s %s ", xhci, ehci_pci, ehci, ohci, uhci;
+ 		   for (i in modules) { printf "%s ", modules[i]; }
+ 		}
+ 	'
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/geninitrd.git/commitdiff/7ba08d052e64d4c9582df68332b902fb2330d216



More information about the pld-cvs-commit mailing list