From e60595bd86a63ae01b2d3809e29e2da6dd649fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Thu, 24 Dec 2009 18:30:32 +0000 Subject: [PATCH] add new method updateKConfig() --- pisi/actionsapi/kerneltools.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py index b7448f82..1ca70934 100644 --- a/pisi/actionsapi/kerneltools.py +++ b/pisi/actionsapi/kerneltools.py @@ -131,6 +131,13 @@ def configure(): else: autotools.make("oldconfig") +def updateKConfig(): + # Call this to set newly added symbols to their defaults after sedding some KConfig + # variables. + + # Grr ugly but no solution. + shelltools.system('yes "" | make silentoldconfig') + ################################### # Building and installation stuff #