wd = os.getcwd()
os.chdir(sf(conf.linux_build_folder))
if conf.kernel_make_output:
- subprocess.call(conf.build_command, env=utils.get_kernel_env())
+ out = sys.stdout
else:
- subprocess.call(conf.build_command, stdout=subprocess.DEVNULL,
- env=utils.get_kernel_env())
+ out = subprocess.DEVNULL
+
+ print(conf.build_command)
+ subprocess.call(conf.build_command, stdout=out, env=utils.get_kernel_env())
+
jobimage = os.path.join(sf(conf.build_folder), confhash + '_linux.img')
shutil.move(sf(conf.linux_image), jobimage)
os.chdir(wd)