summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/xz
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-27 21:54:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-28 11:11:05 +0000
commit790be4ace4da2e2d7597d4e8ccf75ed7f711184d (patch)
treef082b551d2e5a78d77db61f904d4b1bb30935edd /meta/recipes-extended/xz
parent33b1e27c29ed05da783f814cf9c3035675087ecc (diff)
downloadopenembedded-core-contrib-790be4ace4da2e2d7597d4e8ccf75ed7f711184d.tar.gz
xz: Fix shell after autotools changes
After changing autotools.bbclass, CONFIG_SHELL setting no longer works resulting in: xz-5.2.4-r0 do_package_qa: QA Issue: /usr/bin/xzmore contained in package xz requires /bin/bash, but no providers found in RDEPENDS_xz? [file-rdeps] The script can use /bin/sh so set this specifically. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/xz')
-rw-r--r--meta/recipes-extended/xz/xz_5.2.4.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/xz/xz_5.2.4.bb b/meta/recipes-extended/xz/xz_5.2.4.bb
index 83e8fe0cd1..1c4450a9e9 100644
--- a/meta/recipes-extended/xz/xz_5.2.4.bb
+++ b/meta/recipes-extended/xz/xz_5.2.4.bb
@@ -27,6 +27,8 @@ SRC_URI[md5sum] = "5ace3264bdd00c65eeec2891346f65e6"
SRC_URI[sha256sum] = "b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145"
UPSTREAM_CHECK_REGEX = "xz-(?P<pver>\d+(\.\d+)+)\.tar"
+CACHED_CONFIGUREVARS += "gl_cv_posix_shell=/bin/sh"
+
inherit autotools gettext
PACKAGES =+ "liblzma"
@@ -39,5 +41,3 @@ ALTERNATIVE_${PN} = "xz xzcat unxz \
lzma lzcat unlzma"
BBCLASSEXTEND = "native nativesdk"
-
-export CONFIG_SHELL="/bin/sh"