From 81036a2736460e6230ff472eb237a042be1009c1 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 2 Nov 2011 14:30:51 +0100 Subject: [PATCH] set WORKSPACE --- kernel_inpbuilder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel_inpbuilder.py b/kernel_inpbuilder.py index e82d27c..df8f657 100644 --- a/kernel_inpbuilder.py +++ b/kernel_inpbuilder.py @@ -428,7 +428,9 @@ if __name__ == '__main__': # add current dir to python search path cmd_folder = os.path.join(os.path.abspath(OVERLAY_DIR), '..') sys.path.insert(0, cmd_folder) + os.environ['WORKSPACE']=cmd_folder # needed by kernel_persistence import kernel_persistence + if has_extra_modules(): if not install_extra_modules(): -- 2.39.5