summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Bard <alexandre.bard@netmodule.com>2018-11-13 12:04:45 +0100
committerAlexandre Bard <alexandre.bard@netmodule.com>2018-11-13 12:11:16 +0100
commite15634426839166fe829ed9605c69bf8d2d8e091 (patch)
treed54d8b29d3d2a848964ff9d27784f2c7409fe454
parent24c144dff972a851a487da2a563587009b664516 (diff)
downloadmeta-updater-e15634426839166fe829ed9605c69bf8d2d8e091.tar.gz
Fix function name conflict
buildinfo function name is used in poky: meta/classes/image-buildinfo.bbclass Both classes could not be used together Signed-off-by: Alexandre Bard <alexandre.bard@netmodule.com>
-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 467fd9a..c2e7056 100644
--- a/classes/image_repo_manifest.bbclass
+++ b/classes/image_repo_manifest.bbclass
@@ -12,7 +12,7 @@
12HOSTTOOLS_NONFATAL += " repo " 12HOSTTOOLS_NONFATAL += " repo "
13 13
14# Write build information to target filesystem 14# Write build information to target filesystem
15buildinfo () { 15buildinfo_manifest () {
16 if [ $(which repo) ]; then 16 if [ $(which repo) ]; then
17 repo manifest --revision-as-HEAD -o ${IMAGE_ROOTFS}${sysconfdir}/manifest.xml || bbwarn "Android repo tool failed to run; manifest not copied" 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
@@ -20,4 +20,4 @@ buildinfo () {
20 fi 20 fi
21} 21}
22 22
23IMAGE_PREPROCESS_COMMAND += "buildinfo;" 23IMAGE_PREPROCESS_COMMAND += "buildinfo_manifest;"