SOURCES: kernel-config-update.py - if symbol present in config.con...
glen
glen at pld-linux.org
Tue Feb 5 01:29:48 CET 2008
Author: glen Date: Tue Feb 5 00:29:48 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- if symbol present in config.conf, but without our arch, add value from .config
---- Files affected:
SOURCES:
kernel-config-update.py (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SOURCES/kernel-config-update.py
diff -u SOURCES/kernel-config-update.py:1.10 SOURCES/kernel-config-update.py:1.11
--- SOURCES/kernel-config-update.py:1.10 Tue Jan 29 02:26:45 2008
+++ SOURCES/kernel-config-update.py Tue Feb 5 01:29:43 2008
@@ -105,7 +105,7 @@
allarch[key] = 1
dict[symbol][key] = value
-# print "Add symbol: %s = %s" % (symbol, dict[symbol])
+# print "Add symbol: %s=%s" % (symbol, dict[symbol])
f.close()
del allarch['all']
@@ -132,7 +132,10 @@
# other irrelevant data
if m == None:
continue
+
dotdict[symbol] = value
+# print "Add .config symbol: %s=%s" % (symbol, dotdict[symbol])
+
f.close()
dict[i] = ""
@@ -158,6 +161,9 @@
del c['all']
# new value from this arch
c[arch] = value
+ else:
+ # symbol present in config.conf, but without our arch, add our value
+ c[arch] = value
dict[symbol] = c
else:
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-config-update.py?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list