From: Holger Levsen Date: Wed, 2 Nov 2011 13:30:51 +0000 (+0100) Subject: set WORKSPACE X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=81036a2736460e6230ff472eb237a042be1009c1;p=profitbricks%2Fjenkins-build-scripts.git set WORKSPACE --- 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():