libgpiod: fix QA error in ptest RDEPENDS
PATCH 1/1 libgpiod: fix QA error in ptest RDEPENDS
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.
--- meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb +1 -1
@@ -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)} \ ${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2', '', d)} \ " RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim kernel-module-configfs"
Signature · 1 line
2.35.5
Quoted 20 lines · Xiangyu Chen
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(-)meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb +0
-0
meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*" · line 24
Quoted 5 lines
meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb +1
-1@@ -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
Quoted 15 lines
meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb +0
-1${@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 (#109861): https://lists.openembedded.org/g/openembedded-devel/message/109861
Mute This Topic: https://lists.openembedded.org/mt/105397634/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 26 lines · Khem Raj
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Quoted 21 lines · Xiangyu Chen
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(-)meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb +0
-0@@ -21,7 +21,7 @@ FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*" FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h"
Quoted 4 lines
meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*" · line 24
Quoted 3 lines
meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb +1
-1RDEPENDS:${PN}-ptest += " \ - bash \ + ${@bb.utils.contains('PTEST_ENABLED', '1', 'bash', '', d)} \This check is already available below, so just add it next to shunit2
Thanks for your suggestion, a v2 patch has been sent to maillist, could you revert current patch on yoe/mut?
thanks!
Quoted 16 lines
Quoted 16 lines
meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb +0
-1${@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 (#109861): https://lists.openembedded.org/g/openembedded-devel/message/109861
Mute This Topic: https://lists.openembedded.org/mt/105397634/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-