From patchwork Mon Feb 21 03:34:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Douglas Royds X-Patchwork-Id: 4354 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F74DC433F5 for ; Mon, 21 Feb 2022 21:22:06 +0000 (UTC) Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) by mx.groups.io with SMTP id smtpd.web11.4734.1645478525356134190 for ; Mon, 21 Feb 2022 13:22:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@taitradio.com header.s=google header.b=NJRnWjn5; spf=pass (domain: taitradio.com, ip: 209.85.161.47, mailfrom: douglas.royds@taitradio.com) Received: by mail-oo1-f47.google.com with SMTP id w10-20020a4ae08a000000b0031bdf7a6d76so14799046oos.10 for ; Mon, 21 Feb 2022 13:22:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=taitradio.com; s=google; h=mime-version:message-id:in-reply-to:from:date:subject :content-transfer-encoding; bh=zk4KkrsVt1XF0DKg013JAofesa69V7RF/ke/wvbCSIM=; b=NJRnWjn53NQVEDDfPsC0rZGFY017q70NWoIBHnpnZ1De4KHyRQ9Stui0kFI2eBSuxi 92Okh+9oXeaX/kOKC547rnl+sH/N689r53hVph7QUfcPtEeM5fgR9xylH9TJSOfaOwHc 4waRMMtpshRXSWIqTgeetKgm6yYhb0gnST90k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:x-gm-message-state:message-id:in-reply-to:from:date :subject:content-transfer-encoding; bh=zk4KkrsVt1XF0DKg013JAofesa69V7RF/ke/wvbCSIM=; b=qDzOGY++jZjZ6Ej/sO6VFeo5nMEFg0GbqVlYVq1tjnPRWc+ExEOwYB39/bKbqPu7OX LZqp1MVI7qS5wosBo4qgrdHHKOhZhVBtdrEKELH8KuBGrCLnCGDi8Wb4qjaiHhqSsPGL 0qQGNbLI9a4AFUWp+CF3q/4vFv23zh9SATssWO8XuyDL3dVR1vwjjH24CwoxS0k/TA3Q NrIDuUZmze0xtgHu09m7iyR7xb1/YbtJNWiPrpm3ZhXt9jRE7UbMHVtq5qBt1Jf/X/m2 RdNXO4M00jhh7poeyBEkZApCVmnH4sg6tdqU63qxAwkQ7v0eJp4L42xxRxctDW+UmOrD kFoQ== MIME-Version: 1.0 X-Gm-Message-State: AOAM531CaZF+t1Ks3zrDfC7wqIick03Nc4McGakEEPHnSAMPmskJsfxt 7Ji8p4xnNM+g2v1MbN+SeXks8GVl4PgCatKTuvN4UflT06Emb6aeNww9z8qVZ4iFT9XjtSOGJYh zwIJo5UCMMEdz9WOkBzr3xMqfgIaE0gB1DvqOOWQzAw== X-Google-Smtp-Source: ABdhPJzMrTf8gMxigRxIQeAlpj0nsjkr0YaM5lpsorq3FUa940sBMBpIO3jBuLvhMCdcVVDP8bflfg== X-Received: by 2002:a05:6870:678d:b0:d3:115a:4046 with SMTP id gc13-20020a056870678d00b000d3115a4046mr343236oab.181.1645478524443; Mon, 21 Feb 2022 13:22:04 -0800 (PST) Received: from acheron ([202.37.96.2]) by smtp.gmail.com with ESMTPSA id eq37sm27416527oab.19.2022.02.21.13.22.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:22:04 -0800 (PST) Message-ID: <6214027c.1c69fb81.dfd71.92a5@mx.google.com> Received: by acheron (sSMTP sendmail emulation); Tue, 22 Feb 2022 10:21:59 +1300 In-Reply-To: <20220221041039.4036356-1-douglas.royds@taitradio.com> From: Douglas Royds Date: Mon, 21 Feb 2022 16:34:03 +1300 Subject: [meta-oe][PATCH v2] libgpiod: RDEPENDS bats, python3-packaging for libgpiod-ptest List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 21 Feb 2022 21:22:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/95428 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 --- 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)}"