| Message ID | 20260925124825.1868909-2-ross.burton@arm.com |
|---|---|
| State | New |
| Headers | show |
| Series | [1/2] linux-yocto-dev: drop DeviceTree validation dependencies | expand |
On Fri, Sep 25, 2026 at 8:48 AM Ross Burton <ross.burton@arm.com> wrote: > This recipe was added so that the 5.16-rc4 kernel wouldn't depend on > python3-dtschema-native to validate the DeviceTree files at build time. > > However, that requirement was removed in -rc5, so this recipe is not > required. > > Signed-off-by: Ross Burton <ross.burton@arm.com> > --- > meta/conf/distro/include/maintainers.inc | 1 - > .../python3-dtschema-wrapper/dt-doc-validate | 20 ------------------- > .../dtc/python3-dtschema-wrapper/dt-mk-schema | 20 ------------------- > .../dtc/python3-dtschema-wrapper/dt-validate | 20 ------------------- > .../dtc/python3-dtschema-wrapper_2021.10.bb | 19 ------------------ > 5 files changed, 80 deletions(-) > delete mode 100644 > meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate > delete mode 100644 > meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-mk-schema > delete mode 100644 > meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-validate > delete mode 100644 meta/recipes-kernel/dtc/ > python3-dtschema-wrapper_2021.10.bb > > diff --git a/meta/conf/distro/include/maintainers.inc > b/meta/conf/distro/include/maintainers.inc > index 53f5e6bf92a..d3dddaaee97 100644 > --- a/meta/conf/distro/include/maintainers.inc > +++ b/meta/conf/distro/include/maintainers.inc > @@ -645,7 +645,6 @@ RECIPE_MAINTAINER:pn-python3-dbusmock = "Trevor > Gamblin <tgamblin@baylibre.com>" > RECIPE_MAINTAINER:pn-python3-docutils = "Trevor Gamblin < > tgamblin@baylibre.com>" > RECIPE_MAINTAINER:pn-python3-dtc = "Trevor Gamblin <tgamblin@baylibre.com > >" > RECIPE_MAINTAINER:pn-python3-dtschema = "Bruce Ashfield < > bruce.ashfield@gmail.com>" > -RECIPE_MAINTAINER:pn-python3-dtschema-wrapper = "Bruce Ashfield < > bruce.ashfield@gmail.com>" > Clearly the maintainer of this recipe was at the top of his game tracking its use! Acked-by: Bruce Ashfield <bruce.ashfield@gmail.com> > RECIPE_MAINTAINER:pn-python3-editables = "Ross Burton < > ross.burton@arm.com>" > RECIPE_MAINTAINER:pn-python3-extras = "Trevor Gamblin < > tgamblin@baylibre.com>" > RECIPE_MAINTAINER:pn-python3-flit-core = "Tim Orling < > tim.orling@konsulko.com>" > diff --git > a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate > b/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate > deleted file mode 100644 > index 2aa57851c7e..00000000000 > --- a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate > +++ /dev/null > @@ -1,20 +0,0 @@ > -#!/bin/sh > -# dt-doc-validate wrapper to allow kernel dt-validation to pass > -# > -# Copyright (C) 2021 Bruce Ashfield <bruce.ashfield@gmail.com> > -# License: MIT (see COPYING.MIT at the root of the repository for terms) > - > -for arg; do > - case "$arg" in > - --version) > - echo "v2021.10" > - ;; > - esac > -done > - > -# TBD: left for future consideration > -# exec dt-doc-validate.real "$@" > - > -# we always succeed > -exit 0 > - > diff --git a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-mk-schema > b/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-mk-schema > deleted file mode 100644 > index 24b89d86198..00000000000 > --- a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-mk-schema > +++ /dev/null > @@ -1,20 +0,0 @@ > -#!/bin/sh > -# dt-mk-schema wrapper to allow kernel dt-validation to pass > -# > -# Copyright (C) 2021 Bruce Ashfield <bruce.ashfield@gmail.com> > -# License: MIT (see COPYING.MIT at the root of the repository for terms) > - > -for arg; do > - case "$arg" in > - --version) > - echo "v2021.10" > - ;; > - esac > -done > - > -# TBD: left for future consideration > -# exec dt-mk-schema.real "$@" > - > -# we always succeed > -exit 0 > - > diff --git a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-validate > b/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-validate > deleted file mode 100644 > index 8a4710a7eda..00000000000 > --- a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-validate > +++ /dev/null > @@ -1,20 +0,0 @@ > -#!/bin/sh > -# dt-validate wrapper to allow kernel dt-validation to pass > -# > -# Copyright (C) 2021 Bruce Ashfield <bruce.ashfield@gmail.com> > -# License: MIT (see COPYING.MIT at the root of the repository for terms) > - > -for arg; do > - case "$arg" in > - --version) > - echo "v2021.10" > - ;; > - esac > -done > - > -# TBD: left for future consideration > -# exec dt-validate.real "$@" > - > -# we always succeed > -exit 0 > - > diff --git a/meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb > b/meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb > deleted file mode 100644 > index b19f53e20d8..00000000000 > --- a/meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb > +++ /dev/null > @@ -1,19 +0,0 @@ > -SUMMARY = "Wrapper for tooling for devicetree validation using YAML and > jsonschema" > -HOMEPAGE = "https://yoctoproject.org" > -LICENSE = "MIT" > -LIC_FILES_CHKSUM = > "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" > - > -SRC_URI = "file://dt-doc-validate \ > - file://dt-mk-schema \ > - file://dt-validate" > - > -S = "${UNPACKDIR}" > - > -do_install() { > - install -d ${D}${bindir}/ > - install -m 755 ${UNPACKDIR}/dt-doc-validate ${D}${bindir}/ > - install -m 755 ${UNPACKDIR}/dt-mk-schema ${D}${bindir}/ > - install -m 755 ${UNPACKDIR}/dt-validate ${D}${bindir}/ > -} > - > -BBCLASSEXTEND = "native nativesdk" > -- > 2.43.0 > >
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 53f5e6bf92a..d3dddaaee97 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -645,7 +645,6 @@ RECIPE_MAINTAINER:pn-python3-dbusmock = "Trevor Gamblin <tgamblin@baylibre.com>" RECIPE_MAINTAINER:pn-python3-docutils = "Trevor Gamblin <tgamblin@baylibre.com>" RECIPE_MAINTAINER:pn-python3-dtc = "Trevor Gamblin <tgamblin@baylibre.com>" RECIPE_MAINTAINER:pn-python3-dtschema = "Bruce Ashfield <bruce.ashfield@gmail.com>" -RECIPE_MAINTAINER:pn-python3-dtschema-wrapper = "Bruce Ashfield <bruce.ashfield@gmail.com>" RECIPE_MAINTAINER:pn-python3-editables = "Ross Burton <ross.burton@arm.com>" RECIPE_MAINTAINER:pn-python3-extras = "Trevor Gamblin <tgamblin@baylibre.com>" RECIPE_MAINTAINER:pn-python3-flit-core = "Tim Orling <tim.orling@konsulko.com>" diff --git a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate b/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate deleted file mode 100644 index 2aa57851c7e..00000000000 --- a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# dt-doc-validate wrapper to allow kernel dt-validation to pass -# -# Copyright (C) 2021 Bruce Ashfield <bruce.ashfield@gmail.com> -# License: MIT (see COPYING.MIT at the root of the repository for terms) - -for arg; do - case "$arg" in - --version) - echo "v2021.10" - ;; - esac -done - -# TBD: left for future consideration -# exec dt-doc-validate.real "$@" - -# we always succeed -exit 0 - diff --git a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-mk-schema b/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-mk-schema deleted file mode 100644 index 24b89d86198..00000000000 --- a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-mk-schema +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# dt-mk-schema wrapper to allow kernel dt-validation to pass -# -# Copyright (C) 2021 Bruce Ashfield <bruce.ashfield@gmail.com> -# License: MIT (see COPYING.MIT at the root of the repository for terms) - -for arg; do - case "$arg" in - --version) - echo "v2021.10" - ;; - esac -done - -# TBD: left for future consideration -# exec dt-mk-schema.real "$@" - -# we always succeed -exit 0 - diff --git a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-validate b/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-validate deleted file mode 100644 index 8a4710a7eda..00000000000 --- a/meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-validate +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# dt-validate wrapper to allow kernel dt-validation to pass -# -# Copyright (C) 2021 Bruce Ashfield <bruce.ashfield@gmail.com> -# License: MIT (see COPYING.MIT at the root of the repository for terms) - -for arg; do - case "$arg" in - --version) - echo "v2021.10" - ;; - esac -done - -# TBD: left for future consideration -# exec dt-validate.real "$@" - -# we always succeed -exit 0 - diff --git a/meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb b/meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb deleted file mode 100644 index b19f53e20d8..00000000000 --- a/meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb +++ /dev/null @@ -1,19 +0,0 @@ -SUMMARY = "Wrapper for tooling for devicetree validation using YAML and jsonschema" -HOMEPAGE = "https://yoctoproject.org" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" - -SRC_URI = "file://dt-doc-validate \ - file://dt-mk-schema \ - file://dt-validate" - -S = "${UNPACKDIR}" - -do_install() { - install -d ${D}${bindir}/ - install -m 755 ${UNPACKDIR}/dt-doc-validate ${D}${bindir}/ - install -m 755 ${UNPACKDIR}/dt-mk-schema ${D}${bindir}/ - install -m 755 ${UNPACKDIR}/dt-validate ${D}${bindir}/ -} - -BBCLASSEXTEND = "native nativesdk"
This recipe was added so that the 5.16-rc4 kernel wouldn't depend on python3-dtschema-native to validate the DeviceTree files at build time. However, that requirement was removed in -rc5, so this recipe is not required. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/conf/distro/include/maintainers.inc | 1 - .../python3-dtschema-wrapper/dt-doc-validate | 20 ------------------- .../dtc/python3-dtschema-wrapper/dt-mk-schema | 20 ------------------- .../dtc/python3-dtschema-wrapper/dt-validate | 20 ------------------- .../dtc/python3-dtschema-wrapper_2021.10.bb | 19 ------------------ 5 files changed, 80 deletions(-) delete mode 100644 meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate delete mode 100644 meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-mk-schema delete mode 100644 meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-validate delete mode 100644 meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb