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>
This commit is contained in:
Martin Jansa
2021-01-30 15:57:45 +01:00
committed by Khem Raj
parent a2dc16edb7
commit ead30c4c7e
+2 -3
View File
@@ -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