summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2020-08-18 16:25:42 +0200
committerGitHub <noreply@github.com>2020-08-18 16:25:42 +0200
commitd73639e72b336341e7014614c4e556f3ba520d25 (patch)
treeec4c8a5fe37df2d854c94628e83717a3846f97fc
parent19eeae53684dceba15ffc688f4fe379663d1f7ec (diff)
parent54f39be6b64aa75e4120a8fb13adc6ac5d973ccf (diff)
downloadmeta-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
-rw-r--r--classes/image_repo_manifest.bbclass2
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
15buildinfo_manifest () { 15buildinfo_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