aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/zbar
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2021-01-30 15:57:45 +0100
committerKhem Raj <raj.khem@gmail.com>2021-01-30 22:56:51 -0800
commitead30c4c7e00410d9120b17a841c2552ce2b32a0 (patch)
tree2f3740df01b3d0a779db67f001176a211ec3522e /meta-oe/recipes-support/zbar
parenta2dc16edb75cc6c273c68c55fa37b7e348a7f3db (diff)
downloadmeta-openembedded-ead30c4c7e00410d9120b17a841c2552ce2b32a0.tar.gz
zbar: fix random do_prepare_recipe_sysroot_gettext failures
* do_prepare_recipe_sysroot task is added as: addtask do_prepare_recipe_sysroot before do_configure after do_fetch which doesn't ensure that directory is created * we can run this task as "after do_unpack", but it's just easier to run it in do_configure_prepend without the need for extra task * fixes: zbar/0.23.1+gitAUTOINC+89e7900d85-r0/temp/run.do_prepare_recipe_sysroot_gettext.30306' failed with exit code 1: install: target 'zbar/0.23.1+gitAUTOINC+89e7900d85-r0/git/' is not a directory: No such file or directory WARNING: exit code 1 from a shell command. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/zbar')
-rw-r--r--meta-oe/recipes-support/zbar/zbar_git.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/zbar/zbar_git.bb b/meta-oe/recipes-support/zbar/zbar_git.bb
index dae9122520..5cb7baae33 100644
--- a/meta-oe/recipes-support/zbar/zbar_git.bb
+++ b/meta-oe/recipes-support/zbar/zbar_git.bb
@@ -53,7 +53,6 @@ CPPFLAGS_append = "\
TARGET_CXXFLAGS_append = " -fPIC"
-do_prepare_recipe_sysroot_gettext() {
- install -m 755 ${STAGING_DATADIR_NATIVE}/gettext/ABOUT-NLS ${S}/
+do_configure_prepend() {
+ install -m 755 ${STAGING_DATADIR_NATIVE}/gettext/ABOUT-NLS ${S}/
}
-addtask do_prepare_recipe_sysroot_gettext after do_prepare_recipe_sysroot before do_configure \ No newline at end of file