From 0a29552ec44690db86e684713559e3a262616534 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 13 May 2015 18:46:36 +0200 Subject: Add kernel_env setting --- scripts/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts/utils.py') diff --git a/scripts/utils.py b/scripts/utils.py index 0c10553..0b6ac9c 100644 --- a/scripts/utils.py +++ b/scripts/utils.py @@ -83,9 +83,7 @@ def callsubprocess(process_name, process, show_output = True, regular = "", def get_kernel_env(): env = dict(os.environ) - env['SRCARCH'] = conf.SRCARCH - env['ARCH'] = conf.ARCH - env['KERNELVERSION'] = 'KERNELVERSION' # hides error + env.update(conf.kernel_env) return env -- cgit v1.2.3