summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr_git.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2020-08-18 15:57:38 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2020-08-26 09:49:39 +0200
commitec3afd483372bcfa692d649c14bb052919a44880 (patch)
tree08ec2bd5b93e0aed938ed8c697c24a39035b3025 /recipes-sota/aktualizr/aktualizr_git.bb
parent918dab09aa0aa3dc225cc19b9c946794daac7d81 (diff)
downloadmeta-updater-ec3afd483372bcfa692d649c14bb052919a44880.tar.gz
image_repo_manifest.bbclass: fix build when there is no repo on host
* failing "which repo" causes the run.buildinfo_manifest task to fail before it even reaches the test for empty repotool variable: dash -x some-image/1.0-r2/temp/run.buildinfo_manifest.80233 + export systemd_system_unitdir=/usr/lib/systemd/system + export systemd_unitdir=/usr/lib/systemd + export systemd_user_unitdir=/usr/lib/systemd/user + buildinfo_manifest + which repo + repotool= + bb_sh_exit_handler + ret=1 + [ 1 != 0 ] + echo WARNING: exit code 1 from a shell command. WARNING: exit code 1 from a shell command. + exit 1 causing nasty long python exception from do_image task with this fix, it just shows an warning again: dash -x some-image/1.0-r2/temp/run.buildinfo_manifest.80233 + export systemd_user_unitdir=/usr/lib/systemd/user + buildinfo_manifest + which repo + true + repotool= + [ -n ] + bbwarn Android repo tool not found; manifest not copied. + [ -p some-image/1.0-r2/temp/fifo.80233 ] + echo WARNING: Android repo tool not found; manifest not copied. WARNING: Android repo tool not found; manifest not copied. + ret=0 + trap 0 + exit 0 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr_git.bb')
0 files changed, 0 insertions, 0 deletions