summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatti Vacek <patrickvacek@gmail.com>2021-01-29 10:17:58 +0100
committerGitHub <noreply@github.com>2021-01-29 10:17:58 +0100
commitddb1b5d135534c0cb333ea9a6e147bfceb46d2a8 (patch)
treef235c280ddd0afcb3646e90f726a959a0071c57f
parent016854946467909fe97b7b6f29c7b749098af6ad (diff)
parent41ff3f9e558d2abf619c3584c59c36c0735d3288 (diff)
downloadmeta-updater-ddb1b5d135534c0cb333ea9a6e147bfceb46d2a8.tar.gz
Merge pull request #798 from wilddom/fix-image_repo_manifest
image_repo_manifest.bbclass: Improvement for builds outside the .repo…
-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 12f56f0..3e4ecbb 100644
--- a/classes/image_repo_manifest.bbclass
+++ b/classes/image_repo_manifest.bbclass
@@ -15,7 +15,7 @@ inherit python3native
15buildinfo_manifest () { 15buildinfo_manifest () {
16 repotool=`which repo || true` 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 cd ${THISDIR} && 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
20 bbwarn "Android repo tool not found; manifest not copied." 20 bbwarn "Android repo tool not found; manifest not copied."
21 fi 21 fi