mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2026-01-27 11:01:24 +01:00
shared-repo-unpack: suppressing exception, returning exit code
The preceeding errors that would be shown should be enough to identify the problem since it would have been a problem running bitbake-layers add-layer, indicating a misconfiguration of config.json. Signed-off-by: Thomas Goodwin <btgoodwin@geontech.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
43c2a3acc3
commit
2aeb77f3f2
|
|
@ -58,4 +58,7 @@ for repo in sorted(repos.keys()):
|
|||
if args.publish_dir:
|
||||
utils.publishrepo(targetsubdir, repo, args.publish_dir)
|
||||
|
||||
subprocess.check_call([scriptsdir + "/layer-config", args.abworkdir, args.target])
|
||||
try:
|
||||
subprocess.check_call([scriptsdir + "/layer-config", args.abworkdir, args.target])
|
||||
except subprocess.CalledProcessError as e:
|
||||
sys.exit(e.returncode)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user