[cvs] / gkb / gkb.py  

cvs: gkb/gkb.py

Diff for /gkb/gkb.py between version 1.31 and 1.32

version 1.31, Sat Dec 18 07:24:17 2004 UTC version 1.32, Sat Dec 18 08:22:26 2004 UTC
Line 183 
Line 183 
   
 def krn_modulesenabled(kinfo):  def krn_modulesenabled(kinfo):
         """Checks the source to see if modules are enabled"""          """Checks the source to see if modules are enabled"""
         output=getoutput("""awk -F '=' '/^CONFIG_MODULES/{v=$2} END { printf("%s\\n", v) }' """ + kinfo["workdir"] + """.config | sed "s/ //g" """)          output=getoutput("""awk -F '=' '/^CONFIG_MODULES/{v=$2} END { printf("%s\\n", v) }' """ + kinfo["workdir"] + """/.config | sed "s/ //g" """)
         if (output=='y'):          if (output=='y'):
                 result=True                  result=1
         else:          else:
                 result=False                  result=0
           print "modules output=%s result=%s" % (output, result)
   
         return result          return result
   
 def krn_localversion(kinfo):  def krn_localversion(kinfo):


Generate output suitable for use with a patch program
Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

Tobias McNulty

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help