SOURCES: anaconda-network.patch (NEW) - skip sit0 - it's not phydev

glen glen at pld-linux.org
Wed May 24 21:07:07 CEST 2006


Author: glen                         Date: Wed May 24 19:07:07 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- skip sit0 - it's not phydev

---- Files affected:
SOURCES:
   anaconda-network.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/anaconda-network.patch
diff -u /dev/null SOURCES/anaconda-network.patch:1.1
--- /dev/null	Wed May 24 21:07:07 2006
+++ SOURCES/anaconda-network.patch	Wed May 24 21:07:02 2006
@@ -0,0 +1,12 @@
+--- anaconda-11.0.5/network.py~	2006-05-24 22:05:53.856227238 +0300
++++ anaconda-11.0.5/network.py	2006-05-24 22:05:55.836271436 +0300
+@@ -275,6 +275,9 @@
+         lines = lines[2:]
+         for line in lines:
+             dev = string.strip(line[0:6])
++            # skip sit* devices, they aren't real
++            if dev.startsWith("sit"):
++                break
+             if dev != "lo" and not self.netdevices.has_key(dev):
+ 		if self.firstnetdevice is None:
+ 		    self.firstnetdevice = dev
================================================================


More information about the pld-cvs-commit mailing list