From c9fdeddda4b59e54a438d0b41f38aa8def50e8eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Mon, 7 Feb 2011 14:09:22 +0000 Subject: [PATCH] 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. --- pisi/actionsapi/kerneltools.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py index dbc99c25..9abb7014 100644 --- a/pisi/actionsapi/kerneltools.py +++ b/pisi/actionsapi/kerneltools.py @@ -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 #