[readonly/geninitrd/devel: 202/334] We do not support min/max kernel version settings in pci database, so remove that code.

draenog draenog at pld-linux.org
Sat Nov 2 19:28:30 CET 2013


commit d09abbd7197e507ac045bcef91cb025e2757d6e2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Apr 10 11:34:48 2004 +0000

    We do not support min/max kernel version settings in pci database, so remove that code.
    
    svn-id: @3918

 geninitrd | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index f357a49..4715623 100755
--- a/geninitrd
+++ b/geninitrd
@@ -508,13 +508,7 @@ find_modules_ide() {
 END {
 	print "module=" module "\nmin_kernel=" min_kernel "\nmax_kernel=\"" max_kernel "\"\n";
 }' /usr/share/pci-database/ide.pci`
-			    if [ -n "$module" ]; then
-			    	gomin=1
-			    	gomax=1
-			    	[ -n "$min_kernel" -a "$pack_version_long" -lt "$min_kernel" ] && gomin=0
-			    	[ -n "$max_kernel" -a "$pack_version_long" -gt "$max_kernel" ] && gomax=0
-			    	[ "$gomax" -ne 0 -a "$gomin" -ne 0 ] && idemodules="$idemodules $module"
-			    fi
+			    [ -n "$module" ] && idemodules="$idemodules $module"
 	    		done
 			if is_yes "$(awk ' /ide=reverse/ { print "yes" } ' /proc/cmdline)"; then
 			    	new_idemodules=""
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11



More information about the pld-cvs-commit mailing list