summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-12-13 17:33:04 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2017-12-13 17:33:04 +0100
commitff2e2c18c26b92a7a2aee4f76bcf476c44e1e1a5 (patch)
treecdbdd20f76cdad0c17f890a216fb9f4c2b34f30a /classes
parent397fb34ea22088a697f58c6d0ad8604a23160972 (diff)
downloadmeta-updater-ff2e2c18c26b92a7a2aee4f76bcf476c44e1e1a5.tar.gz
Port fix for non-repo use-case from pyro
Diffstat (limited to 'classes')
-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..7f41a97 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 || bbwarn "Android repo tool failed to run; manifest not copied"
18 else 18 else
19 echo "Android repo tool not food; manifest not copied." 19 bbwarn "Android repo tool not food; manifest not copied."
20 fi 20 fi
21} 21}
22 22