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:
@@ -128,7 +128,10 @@ def configure():
|
|||||||
autotools.make("ARCH=%s oldconfig" % __getKernelARCH())
|
autotools.make("ARCH=%s oldconfig" % __getKernelARCH())
|
||||||
|
|
||||||
# Check configuration with listnewconfig
|
# Check configuration with listnewconfig
|
||||||
autotools.make("ARCH=%s listnewconfig" % __getKernelARCH())
|
try:
|
||||||
|
autotools.make("ARCH=%s listnewconfig" % __getKernelARCH())
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
# Building and installation stuff #
|
# Building and installation stuff #
|
||||||
|
|||||||
Reference in New Issue
Block a user