On Mon, Apr 8, 2024 at 1:47 AM Xiangyu Chen
<[email protected]> wrote:
>
> From: Xiangyu Chen <[email protected]>
>
> The bash in ptest RDEPENDS would cause following QA error:
>
> ERROR: QA Issue: lib32-libgpiod package lib32-libgpiod-ptest-dev -
> suspicious values 'bash-dev' in RRECOMMENDS [multilib]
>
> Add a ptest enable dependency to avoid this QA error happens.
>
> Signed-off-by: Xiangyu Chen <[email protected]>
> ---
> meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb
> b/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb
> index c62c9a3567..4a568b4fbe 100644
> --- a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb
> +++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb
> @@ -21,7 +21,7 @@ FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*"
> FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h"
>
> RDEPENDS:${PN}-ptest += " \
> - bash \
> + ${@bb.utils.contains('PTEST_ENABLED', '1', 'bash', '', d)} \
This check is already available below, so just add it next to shunit2
> ${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2', '', d)} \
> "
> RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim kernel-module-configfs"
> --
> 2.35.5
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109869):
https://lists.openembedded.org/g/openembedded-devel/message/109869
Mute This Topic: https://lists.openembedded.org/mt/105397634/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-