* 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.ja...@gmail.com> --- meta-oe/recipes-support/zbar/zbar_git.bb | 5 ++--- 1 file 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 -- 2.27.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#89183): https://lists.openembedded.org/g/openembedded-devel/message/89183 Mute This Topic: https://lists.openembedded.org/mt/80235800/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-