Wrap various packages in a compliant manner
cover Wrap various packages in a compliant manner
We are moving to make the meta-arago layers Yocto Project Compatible.
https://www.yoctoproject.org/development/yocto-project-compatible-layers/
We have been cleaning up the layer according to the yocto-check-layer tool. This series addresses any packages that were defined by wrapping the bbappend behind a guard (see other series), or that a commercial license is defined for a recipe and LICENSE_FLAGS_ACCEPTED is required in the distro to be able to use them.
In order for a packagegroup to use these recipes, we can only include them if we are building arago and applying the conf/distro/arago.conf settings.
Ryan Eatmon (8):
packagegroup-arago-base: Wrap various packages in a compliant manner packagegroup-arago-bootstrap: Wrap various packages in a compliant
manner
packagegroup-arago-tisdk-addons: Wrap various packages in a compliant
manner
nativesdk-packagegroup-arago-tisdk-host: Wrap various packages in a
compliant manner
ti-test: Wrap various packages in a compliant manner packagegroup-arago-gst-sdk-target: Wrap various packages in a
compliant manner
packagegroup-arago-gst: Wrap various packages in a compliant manner packagegroup-arago-tisdk-multimedia: Wrap various packages in a
compliant manner
.../recipes-core/packagegroups/packagegroup-arago-base.bb | 5 ++++- .../packagegroups/packagegroup-arago-bootstrap.bb | 5 ++++- .../packagegroups/packagegroup-arago-gst-sdk-target.bb | 3 ++- .../recipes-core/packagegroups/packagegroup-arago-gst.bb | 3 ++- .../packagegroups/packagegroup-arago-tisdk-addons.bb | 7 +++++-- .../packagegroups/packagegroup-arago-tisdk-multimedia.bb | 4 ++-- .../nativesdk-packagegroup-arago-tisdk-host.bb | 5 ++++- meta-arago-test/recipes-core/packagegroups/ti-test.bb | 2 +- 8 files changed, 24 insertions(+), 10 deletions(-)
Signature · 1 line
2.17.1
PATCH 1/8 packagegroup-arago-base: Wrap various packages in a compliant manner
Previous clean ups wrapped some recipe .bbappend files in a compliant manner and effectively hid the changes behind having "arago" in the DISTRO_OVERRIDE. This same kind wrapping is needed when including the package in the package group.
--- .../recipes-core/packagegroups/packagegroup-arago-base.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb +4 -1
@@ -36,7 +36,6 @@ ARAGO_EXTRA = "\ kms++-python \ can-utils \ docker \ - dbus-broker \ expat \ glib-2.0 \ libxml2 \
@@ -52,6 +51,10 @@ ARAGO_EXTRA = "\ lldpd \ " +ARAGO_EXTRA:append:arago = "\ + dbus-broker \ +" + OPTEE_PKGS = " \ optee-os \ optee-client \
Signature · 1 line
2.17.1
PATCH 2/8 packagegroup-arago-bootstrap: Wrap various packages in a compliant manner
In reply to Ryan EatmonPrevious clean ups wrapped some recipe .bbappend files in a compliant manner and effectively hid the changes behind having "ti-soc" in the MACHINE_OVERRIDES. This same kind wrapping is needed when including the package in the package group.
--- .../packagegroups/packagegroup-arago-bootstrap.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-bootstrap.bb +4 -1
@@ -19,7 +19,6 @@ UTILS = " \ libdrm-tests \ rt-tests \ iozone3 \ - mtd-utils-ubifs-tests \ net-tools \ ethtool \ pciutils \
@@ -30,6 +29,10 @@ UTILS = " \ devmem2 \ phytool \ " + +UTILS:append:ti-soc = " \ + mtd-utils-ubifs-tests \ +" UTILS:append:ti33x = " \ omapconf \
Signature · 1 line
2.17.1
PATCH 3/8 packagegroup-arago-tisdk-addons: Wrap various packages in a compliant manner
In reply to Ryan EatmonPrevious clean ups wrapped some recipe .bbappend files in a compliant manner and effectively hid the changes behind having "arago" in the DISTRO_OVERRIDE. This same kind wrapping is needed when including the package in the package group.
--- .../packagegroups/packagegroup-arago-tisdk-addons.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +5 -2
@@ -15,12 +15,15 @@ UTILS = " \ strongswan \ kexec \ kdump \ - open62541-examples \ - open62541-tests \ sudo \ watchdog \ " +UTILS:append:arago = " \ + open62541-examples \ + open62541-tests \ +" + UTILS_UBOOT_FW = "libubootenv-bin" UTILS_DSP = " \
Signature · 1 line
2.17.1
PATCH 4/8 nativesdk-packagegroup-arago-tisdk-host: Wrap various packages in a compliant manner
In reply to Ryan EatmonPrevious clean ups wrapped some recipe .bbappend files in a compliant manner and effectively hid the changes behind having "arago" in the DISTRO_OVERRIDE. This same kind wrapping is needed when including the package in the package group.
--- .../packagegroups/nativesdk-packagegroup-arago-tisdk-host.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bb +4 -1
@@ -10,9 +10,12 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" EXTRA_TI_TOOLS = " \ nativesdk-ti-cgt6x \ nativesdk-ti-cgt-pru \ + nativesdk-gcc-arm-baremetal \ +" + +UTILS:append:arago = " \ nativesdk-open62541-examples \ nativesdk-open62541-tests \ - nativesdk-gcc-arm-baremetal \ " RDEPENDS:${PN} = "\
Signature · 1 line
2.17.1
PATCH 5/8 ti-test: Wrap various packages in a compliant manner
In reply to Ryan EatmonPrevious clean ups wrapped some recipe .bbappend files in a compliant manner and effectively hid the changes behind having "ti-soc" in the MACHINE_OVERRIDES. This same kind wrapping is needed when including the package in the package group.
--- meta-arago-test/recipes-core/packagegroups/ti-test.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -1
@@ -58,7 +58,7 @@ TI_TEST_BASE = "\ yavta \ " -TI_TEST_BASE:ti-soc:append = " \ +TI_TEST_BASE:append:ti-soc = " \ mtd-utils-ubifs-tests \ "
Signature · 1 line
2.17.1
PATCH 6/8 packagegroup-arago-gst-sdk-target: Wrap various packages in a compliant manner
In reply to Ryan Eatmonyocto-check-layer does not load the conf/distro/arago.conf file during its execution. This means that the LICENSE_FLAGS_ACCEPTED variable is not set according to what we are willing to accept.
If a packagegroup is trying to include a recipe that is marked as being "commercial" and the LICENSE_FLAGS_ACCEPTED is not set, then yocto-check-layer fails.
The solution is to wrap the inclusion of these recipes in the packagegroup in a complaint manner. Only if the DISTRO_OVERRIDE says that this is an "arago" build, should the package be included and this under the direction of the LICENSE_FLAGS_ACCEPTED variable.
--- .../packagegroups/packagegroup-arago-gst-sdk-target.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb +2 -1
@@ -11,9 +11,10 @@ GSTREAMER_DEPS = " \ gstreamer1.0-plugins-base-dev \ gstreamer1.0-plugins-good-dev \ gstreamer1.0-plugins-bad-dev \ - gstreamer1.0-libav-dev \ " +GSTREAMER_DEPS:arago += "gstreamer1.0-libav-dev" + # gstreamer1.0-plugins-hevc-dev GSTREAMER_DEPS:append:dra7xx = " \ "
Signature · 1 line
2.17.1
Re: [meta-arago][master][PATCH 6/8] packagegroup-arago-gst-sdk-target: Wrap various packages in a compliant manner
Quoted 23 lines · Ryan Eatmon via lists.yoctoproject.org
yocto-check-layer does not load the
conf/distro/arago.conffile during its execution. This means that theLICENSE_FLAGS_ACCEPTEDvariable is not set according to what we are willing to accept.If a packagegroup is trying to include a recipe that is marked as being "commercial" and the
LICENSE_FLAGS_ACCEPTEDis not set, then yocto-check-layer fails.The solution is to wrap the inclusion of these recipes in the packagegroup in a complaint manner. Only if the
DISTRO_OVERRIDEsays that this is an "arago" build, should the package be included and this under the direction of theLICENSE_FLAGS_ACCEPTEDvariable.Signed-off-by Ryan Eatmon <[email protected]>--- .../packagegroups/packagegroup-arago-gst-sdk-target.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb +0
-0
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb GSTREAMER_DEPS = " \ · line 16
Quoted 7 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb +1
-1@@ -11,9 +11,10 @@ GSTREAMER_DEPS = " \ gstreamer1.0-plugins-base-dev \ gstreamer1.0-plugins-good-dev \ gstreamer1.0-plugins-bad-dev \ - gstreamer1.0-libav-dev \ " +GSTREAMER_DEPS:arago += "gstreamer1.0-libav-dev"
It's not recommended to mix overrides (:arago) and appending operands (+=)
GSTREAMER_DEPS:append:arago = " gstreamer1.0-libav-dev"
Quoted 6 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb +1
-0+ # gstreamer1.0-plugins-hevc-dev GSTREAMER_DEPS:append:dra7xx = " \ "Signature · 1 line
2.17.1
PATCH 7/8 packagegroup-arago-gst: Wrap various packages in a compliant manner
In reply to Ryan Eatmonyocto-check-layer does not load the conf/distro/arago.conf file during its execution. This means that the LICENSE_FLAGS_ACCEPTED variable is not set according to what we are willing to accept.
If a packagegroup is trying to include a recipe that is marked as being "commercial" and the LICENSE_FLAGS_ACCEPTED is not set, then yocto-check-layer fails.
The solution is to wrap the inclusion of these recipes in the packagegroup in a complaint manner. Only if the DISTRO_OVERRIDE says that this is an "arago" build, should the package be included and this under the direction of the LICENSE_FLAGS_ACCEPTED variable.
--- .../recipes-core/packagegroups/packagegroup-arago-gst.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +2 -1
@@ -14,9 +14,10 @@ GSTREAMER_DEPS = " \ gstreamer1.0-plugins-base-meta \ gstreamer1.0-plugins-good-meta \ gstreamer1.0-plugins-bad-meta \ - gstreamer1.0-libav \ " +GSTREAMER_DEPS:arago += "gstreamer1.0-libav" + # gstreamer1.0-plugins-hevc GSTREAMER_DEPS:append:dra7xx = " \ "
Signature · 1 line
2.17.1
Re: [meta-arago][master][PATCH 7/8] packagegroup-arago-gst: Wrap various packages in a compliant manner
Quoted 23 lines · Ryan Eatmon via lists.yoctoproject.org
yocto-check-layer does not load the
conf/distro/arago.conffile during its execution. This means that theLICENSE_FLAGS_ACCEPTEDvariable is not set according to what we are willing to accept.If a packagegroup is trying to include a recipe that is marked as being "commercial" and the
LICENSE_FLAGS_ACCEPTEDis not set, then yocto-check-layer fails.The solution is to wrap the inclusion of these recipes in the packagegroup in a complaint manner. Only if the
DISTRO_OVERRIDEsays that this is an "arago" build, should the package be included and this under the direction of theLICENSE_FLAGS_ACCEPTEDvariable.Signed-off-by Ryan Eatmon <[email protected]>--- .../recipes-core/packagegroups/packagegroup-arago-gst.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +0
-0
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb GSTREAMER_DEPS = " \ · line 19
Quoted 7 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +1
-1@@ -14,9 +14,10 @@ GSTREAMER_DEPS = " \ gstreamer1.0-plugins-base-meta \ gstreamer1.0-plugins-good-meta \ gstreamer1.0-plugins-bad-meta \ - gstreamer1.0-libav \ " +GSTREAMER_DEPS:arago += "gstreamer1.0-libav"
It's not recommended to mix overrides (:arago) and appending operands (+=)
GSTREAMER_DEPS:append:arago = " gstreamer1.0-libav"
Quoted 5 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +0
-0# gstreamer1.0-plugins-hevc GSTREAMER_DEPS:append:dra7xx = " \ "Signature · 1 line
2.17.1
PATCH 8/8 packagegroup-arago-tisdk-multimedia: Wrap various packages in a compliant manner
In reply to Ryan Eatmonyocto-check-layer does not load the conf/distro/arago.conf file during its execution. This means that the LICENSE_FLAGS_ACCEPTED variable is not set according to what we are willing to accept.
If a packagegroup is trying to include a recipe that is marked as being "commercial" and the LICENSE_FLAGS_ACCEPTED is not set, then yocto-check-layer fails.
The solution is to wrap the inclusion of these recipes in the packagegroup in a complaint manner. Only if the DISTRO_OVERRIDE says that this is an "arago" build, should the package be included and this under the direction of the LICENSE_FLAGS_ACCEPTED variable.
--- .../packagegroups/packagegroup-arago-tisdk-multimedia.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +2 -2
@@ -7,12 +7,12 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup MULTIMEDIA = " \ - ffmpeg \ libcamera \ libcamera-gst \ - mpv \ " +MULTIMEDIA:arago += "ffmpeg mpv" + MULTIMEDIA:omapl138 = "" MULTIMEDIA:append:dra7xx = " \
Signature · 1 line
2.17.1
Re: [meta-arago][master][PATCH 8/8] packagegroup-arago-tisdk-multimedia: Wrap various packages in a compliant manner
Quoted 23 lines · Ryan Eatmon via lists.yoctoproject.org
yocto-check-layer does not load the
conf/distro/arago.conffile during its execution. This means that theLICENSE_FLAGS_ACCEPTEDvariable is not set according to what we are willing to accept.If a packagegroup is trying to include a recipe that is marked as being "commercial" and the
LICENSE_FLAGS_ACCEPTEDis not set, then yocto-check-layer fails.The solution is to wrap the inclusion of these recipes in the packagegroup in a complaint manner. Only if the
DISTRO_OVERRIDEsays that this is an "arago" build, should the package be included and this under the direction of theLICENSE_FLAGS_ACCEPTEDvariable.Signed-off-by Ryan Eatmon <[email protected]>--- .../packagegroups/packagegroup-arago-tisdk-multimedia.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +0
-0
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb PACKAGE_ARCH = "${MACHINE_ARCH}" · line 14
Quoted 10 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +1
-2@@ -7,12 +7,12 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup MULTIMEDIA = " \ - ffmpeg \ libcamera \ libcamera-gst \ - mpv \ " +MULTIMEDIA:arago += "ffmpeg mpv"
It's not recommended to mix overrides (:arago) and appending operands (+=)
MULTIMEDIA:append:arago = " ffmpeg mpv"
Quoted 5 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +0
-0MULTIMEDIA:omapl138 = "" MULTIMEDIA:append:dra7xx = " \Signature · 1 line
2.17.1