mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
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. (From OE-Core rev: 790be4ace4da2e2d7597d4e8ccf75ed7f711184d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user