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: 4353 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 E640BC433EF for ; Mon, 21 Feb 2022 04:37:11 +0000 (UTC) Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) by mx.groups.io with SMTP id smtpd.web12.7151.1645418231289929710 for ; Sun, 20 Feb 2022 20:37:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@taitradio.com header.s=google header.b=ZtBDaBay; spf=pass (domain: taitradio.com, ip: 209.85.161.44, mailfrom: douglas.royds@taitradio.com) Received: by mail-oo1-f44.google.com with SMTP id k13-20020a4a948d000000b003172f2f6bdfso11729447ooi.1 for ; Sun, 20 Feb 2022 20:37:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=taitradio.com; s=google; h=mime-version:message-id:from:date:subject:content-transfer-encoding; bh=Ubd2pgudLqgdOnC7udOoaj1O4LvdCg3EQB0d6wpbM7A=; b=ZtBDaBayLCXXqa4XflZEmWoZJallMO7cdJPcazZxaj5sup6HOMyFFkes1XmTZpSGu/ bJOBq93drN7sM4Qwf4svm85+YVwSItG87H60dJ6K0ao8vK/rdap5hSLN0lMLrr8+KwyP REGx2FnBVAcc9QzKcq95MSk/YA+9VT4W08GyA= 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:from:date:subject :content-transfer-encoding; bh=Ubd2pgudLqgdOnC7udOoaj1O4LvdCg3EQB0d6wpbM7A=; b=bLOrw4i1dODg5pTCKSocxTDkQF167KaOo2lbosba2D6itSyNpkFhuQCEyoXxP0BMy5 zdtgTGxWNw4+/KCqeZDqjq/9RPupqddXJTt2Dvx+SoczXxkT2P4Rm6LPZOFLcH9fcuw/ pxI1Yv6wkxLgHZyllPGuAj+qg97SLV8b19Y/MOr+E1J8UU+C9eoIk2QoSjZX5QuzWP/3 smMv9wAjeAy+XcvEl9wG9ojf1YabdFrxyI+8qJhJyssubm61h/VdDrPkNlmrtzVt56tA qjbzi5Z2Dgv3LeQbwIDJ9NXNPF6C9N37QEhLtYNImpyK1pffQ3lGuGjIyZw8d0+zp77x YZZQ== MIME-Version: 1.0 X-Gm-Message-State: AOAM533G9qiFqSPY/eFaba3rWyjWUs1Mc4WBGTPty3v/GSdu+TtwSeHf lYBcHpMeWyh01I1gDKDSxF/Zpu+jRKp5QCTAWizhfYgijO7FxRejl18E2+AUlAfia2Q40ouyl/e GboDJBZJI+6TtyRHA0RqLFTC7ZtUsH6w84lXFEQqItQ== X-Google-Smtp-Source: ABdhPJzBfj/X7bKnBgAK80bZjcfTLF9MjxZQhpir23pX/GNXUykgY9MfCfIyduzgnGiMhlEBAS8meA== X-Received: by 2002:a05:6870:468f:b0:d3:501c:8eb9 with SMTP id a15-20020a056870468f00b000d3501c8eb9mr7189330oap.239.1645418230403; Sun, 20 Feb 2022 20:37:10 -0800 (PST) Received: from acheron ([202.37.96.2]) by smtp.gmail.com with ESMTPSA id z4sm4563338ooi.0.2022.02.20.20.37.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Feb 2022 20:37:10 -0800 (PST) Message-ID: <621316f6.1c69fb81.be8e5.9f34@mx.google.com> Received: by acheron (sSMTP sendmail emulation); Mon, 21 Feb 2022 17:37:05 +1300 From: Douglas Royds Date: Mon, 21 Feb 2022 16:34:03 +1300 Subject: [meta-oe][PATCH] libgpiod: RRECOMMENDS 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 04:37:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/95397 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 RRECOMMENDS 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..c5323b417 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" @@ -53,6 +53,7 @@ RRECOMMENDS:${PN}-ptest += " \ kernel-module-gpio-mockup \ coreutils \ ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-unittest', '', d)} \ + ${@bb.utils.contains('PACKAGECONFIG', 'tests', 'bats python3-packaging', '', d)} \ " PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)}"