When ptest is included in the DISTRO_FEATURES, we were adding bats and
python3-packaging to the libgpiod RDEPENDS, and unwittingly dragging bash and
python3 into the rootfs whether libgpiod-ptest was installed or not.

Add bats and python3-packaging to the RDEPENDS for the libgpiod-ptest package 
only.

Signed-off-by: Douglas Royds <douglas.ro...@taitradio.com>
---
 meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb 
b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb
index 51b74ba5b..c08e38712 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = 
"841be9d788f00bab08ef22c4be5c39866f0e46cb100a3ae49ed816ac9c
 
 inherit autotools pkgconfig python3native ptest
 
-PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev glib-2.0 
catch2,bats python3-packaging"
+PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev glib-2.0 
catch2"
 PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"
 PACKAGECONFIG[python3] = 
"--enable-bindings-python,--disable-bindings-python,python3"
 
@@ -54,6 +54,7 @@ RRECOMMENDS:${PN}-ptest += " \
     coreutils \
     ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-unittest', '', 
d)} \
 "
+RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'tests', 'bats 
python3-packaging', '', d)}"
 
 PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 
'tests', '', d)}"
 
-- 
2.32.0


-- 
---------
Tait Communications is changing its domain name from 
@taitradio.com <http://taitradio.com> to @taitcommunications.com 
<http://taitcommunications.com> on 22 February 2022.   Email contacts will 
change, for example jo.smith at taitradio.com <http://taitradio.com> 
becomes jo.smith at taitcommunications.com <http://taitcommunications.com>. 
 Existing email and other name formats using @taitradio will continue to 
work for some time.
----------
Tait Communications ändert seinen 
Domainnamen per 22. Februar 2022 von @taitradio.com <http://taitradio.com> 
in @taitcommunications.com <http://taitcommunications.com>.   Die 
E-Mail-Kontakte werden sich ändern, zum Beispiel wird jo.smith at 
taitradio.com <http://taitradio.com> zu jo.smith at taitcommunications.com 
<http://taitcommunications.com>.  Bestehende E-Mail- und andere 
Namensformate, die @taitradio verwenden, werden noch eine Zeit lang 
funktionieren.
----------
A Tait Communications está mudando efetivamente 
seu domínio de @taitradio.com <http://taitradio.com> para 
@taitcommunications.com <http://taitcommunications.com> em 22 de fevereiro 
de 2022. Todos os nossos endereços de e-mail serão alterados com essa 
mudança, por exemplo joao.silva @ taitradio.com <http://taitradio.com> irá 
virar joao.silva @ taitcommunications.com <http://taitcommunications.com>. 
Os e-mail existentes atualmente cujo domínio é @taitradio ainda continuarão 
funcionando por um determinado período de tempo.
----------
Tait 
Communications cambiará su nombre de dominio de @taitradio.com 
<http://taitradio.com> a @taitcommunications.com 
<http://taitcommunications.com> el 22 de febrero de 2022. Todos los 
contactos de correo electrónico cambiarán, por ejemplo, jo.smith en 
taitradio.com <http://taitradio.com> se convierte en jo.smith en 
taitcommunications.com <http://taitcommunications.com>. Los correos 
electrónicos existentes y otros formatos de nombre que utilizan @taitradio 
todavía seguirán funcionando durante algún tiempo.
----------
Tait 
Communications change son nom de domaine de @taitradio.com 
<http://taitradio.com> à @taitcommunications.com 
<http://taitcommunications.com> le 22 février 2022.   Les contacts par 
courriel changeront, par exemple jo.smith at taitradio.com 
<http://taitradio.com> devient jo.smith at taitcommunications.com 
<http://taitcommunications.com>.  Les adresses électroniques et autres 
formats de noms existants utilisant @taitradio continueront à fonctionner 
pendant un certain temps.
This communication is confidential. We only send 
and receive email on the
basis of the terms set out at 
www.taitradio.com/email_disclaimer 
<http://www.taitradio.com/email_disclaimer>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95428): 
https://lists.openembedded.org/g/openembedded-devel/message/95428
Mute This Topic: https://lists.openembedded.org/mt/89303975/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to