actionsapi/kerneltools: Don't fail if listnewconfig is not available

listnewconfig is not available on 2.6.35. Call it in a try/except
to avoid failing.
This commit is contained in:
Ozan Çağlayan
2011-02-07 14:09:22 +00:00
parent 5ad08c3dc3
commit c9fdeddda4
+4 -1
View File
@@ -128,7 +128,10 @@ def configure():
autotools.make("ARCH=%s oldconfig" % __getKernelARCH())
# Check configuration with listnewconfig
autotools.make("ARCH=%s listnewconfig" % __getKernelARCH())
try:
autotools.make("ARCH=%s listnewconfig" % __getKernelARCH())
except:
pass
###################################
# Building and installation stuff #