diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2020-08-18 16:25:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 16:25:42 +0200 |
commit | d73639e72b336341e7014614c4e556f3ba520d25 (patch) | |
tree | ec4c8a5fe37df2d854c94628e83717a3846f97fc /classes/image_repo_manifest.bbclass | |
parent | 19eeae53684dceba15ffc688f4fe379663d1f7ec (diff) | |
parent | 54f39be6b64aa75e4120a8fb13adc6ac5d973ccf (diff) | |
download | meta-updater-d73639e72b336341e7014614c4e556f3ba520d25.tar.gz |
Merge pull request #765 from shr-project/jansa/master
image_repo_manifest.bbclass: fix build when there is no repo on host
Diffstat (limited to 'classes/image_repo_manifest.bbclass')
-rw-r--r-- | classes/image_repo_manifest.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_repo_manifest.bbclass b/classes/image_repo_manifest.bbclass index 795f41f..12f56f0 100644 --- a/classes/image_repo_manifest.bbclass +++ b/classes/image_repo_manifest.bbclass | |||
@@ -13,7 +13,7 @@ inherit python3native | |||
13 | 13 | ||
14 | # Write build information to target filesystem | 14 | # Write build information to target filesystem |
15 | buildinfo_manifest () { | 15 | buildinfo_manifest () { |
16 | repotool=$(which repo) | 16 | repotool=`which repo || true` |
17 | if [ -n "$repotool" ]; then | 17 | if [ -n "$repotool" ]; then |
18 | python3 $repotool manifest --revision-as-HEAD -o ${IMAGE_ROOTFS}${sysconfdir}/manifest.xml || bbwarn "Android repo tool failed to run; manifest not copied" | 18 | python3 $repotool manifest --revision-as-HEAD -o ${IMAGE_ROOTFS}${sysconfdir}/manifest.xml || bbwarn "Android repo tool failed to run; manifest not copied" |
19 | else | 19 | else |