summaryrefslogtreecommitdiffstats
path: root/classes/image_repo_manifest.bbclass
diff options
context:
space:
mode:
authorcajun-rat <phil@advancedtelematic.com>2017-11-30 14:04:07 +0100
committerGitHub <noreply@github.com>2017-11-30 14:04:07 +0100
commit196add821c3a16597f649dcdf8fb4f1d1101e25c (patch)
treeb2d5f112ef5731e63006718b0f0a030c05901378 /classes/image_repo_manifest.bbclass
parent27e0edbef0180fd7643e2b1558e313bc2baa92d9 (diff)
parent6f13bd2461f88f9658a3d94bffe9550d05fa5da4 (diff)
downloadmeta-updater-196add821c3a16597f649dcdf8fb4f1d1101e25c.tar.gz
Merge pull request #190 from advancedtelematic/fix/repo-manifest
Fix builds outside the .repo directory
Diffstat (limited to 'classes/image_repo_manifest.bbclass')
-rw-r--r--classes/image_repo_manifest.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/image_repo_manifest.bbclass b/classes/image_repo_manifest.bbclass
index d508574..2012363 100644
--- a/classes/image_repo_manifest.bbclass
+++ b/classes/image_repo_manifest.bbclass
@@ -14,9 +14,9 @@ HOSTTOOLS_NONFATAL += " repo "
14# Write build information to target filesystem 14# Write build information to target filesystem
15buildinfo () { 15buildinfo () {
16 if [ $(which repo) ]; then 16 if [ $(which repo) ]; then
17 repo manifest --revision-as-HEAD -o ${IMAGE_ROOTFS}${sysconfdir}/manifest.xml 17 repo manifest --revision-as-HEAD -o ${IMAGE_ROOTFS}${sysconfdir}/manifest.xml || echo "Android repo tool failed to run; manifest not copied"
18 else 18 else
19 echo "Android repo tool not food; manifest not copied." 19 echo "Android repo tool not found; manifest not copied."
20 fi 20 fi
21} 21}
22 22