diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-27 21:54:01 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-28 11:11:20 +0000 |
| commit | 63bb091d2d2f373a221225b7fbe45ed4f2b57650 (patch) | |
| tree | 5c367ec0cd5679b1336f5fdfa3be7067e2dbe5be | |
| parent | 93739bca2a88002d1ac5a87ce5453e77304a9c1d (diff) | |
| download | poky-63bb091d2d2f373a221225b7fbe45ed4f2b57650.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.
(From OE-Core rev: 790be4ace4da2e2d7597d4e8ccf75ed7f711184d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/xz/xz_5.2.4.bb | 4 |
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" | |||
| 27 | SRC_URI[sha256sum] = "b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145" | 27 | SRC_URI[sha256sum] = "b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145" |
| 28 | UPSTREAM_CHECK_REGEX = "xz-(?P<pver>\d+(\.\d+)+)\.tar" | 28 | UPSTREAM_CHECK_REGEX = "xz-(?P<pver>\d+(\.\d+)+)\.tar" |
| 29 | 29 | ||
| 30 | CACHED_CONFIGUREVARS += "gl_cv_posix_shell=/bin/sh" | ||
| 31 | |||
| 30 | inherit autotools gettext | 32 | inherit autotools gettext |
| 31 | 33 | ||
| 32 | PACKAGES =+ "liblzma" | 34 | PACKAGES =+ "liblzma" |
| @@ -39,5 +41,3 @@ ALTERNATIVE_${PN} = "xz xzcat unxz \ | |||
| 39 | lzma lzcat unlzma" | 41 | lzma lzcat unlzma" |
| 40 | 42 | ||
| 41 | BBCLASSEXTEND = "native nativesdk" | 43 | BBCLASSEXTEND = "native nativesdk" |
| 42 | |||
| 43 | export CONFIG_SHELL="/bin/sh" | ||
