Message ID | 20250314-flo-remove-compat-files-v1-4-fab2d8b18266@siemens.com |
---|---|
State | Accepted, archived |
Headers | show |
Series | Replace debian/compat files by a build dependency to debhelper-compat | expand |
diff --git a/meta/recipes-bsp/optee-ftpm/files/debian/compat b/meta/recipes-bsp/optee-ftpm/files/debian/compat deleted file mode 100644 index f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2..0000000000000000000000000000000000000000 --- a/meta/recipes-bsp/optee-ftpm/files/debian/compat +++ /dev/null @@ -1 +0,0 @@ -10 diff --git a/meta/recipes-bsp/optee-ftpm/files/debian/control.tmpl b/meta/recipes-bsp/optee-ftpm/files/debian/control.tmpl index abab42eeb9a41a79fde12c12e19f7fffb8ac8942..e6af755444b59443eb039aab9fd1c12bba4e455a 100644 --- a/meta/recipes-bsp/optee-ftpm/files/debian/control.tmpl +++ b/meta/recipes-bsp/optee-ftpm/files/debian/control.tmpl @@ -3,7 +3,7 @@ Section: misc Priority: optional Standards-Version: 3.9.6 Maintainer: Unknown maintainer <unknown@example.com> -Build-Depends: debhelper (>= 10), ${DEBIAN_BUILD_DEPENDS} +Build-Depends: debhelper-compat (= ${DEBIAN_COMPAT}), ${DEBIAN_BUILD_DEPENDS} Package: ${PN} Architecture: any diff --git a/meta/recipes-bsp/optee-ftpm/optee-ftpm.inc b/meta/recipes-bsp/optee-ftpm/optee-ftpm.inc index 5d07e38d518b4ec279996d4b2a79e6add96d733c..738b694a41742a636276660239084ab50d56ecbf 100644 --- a/meta/recipes-bsp/optee-ftpm/optee-ftpm.inc +++ b/meta/recipes-bsp/optee-ftpm/optee-ftpm.inc @@ -1,4 +1,4 @@ -# Copyright (c) Siemens AG, 2023 +# Copyright (c) Siemens AG, 2023-2025 # # Authors: # Su Bao Cheng <baocheng.su@siemens.com> @@ -29,6 +29,7 @@ OPTEE_FTPM_BUILD_ARGS_EXTRA ?= " " TEMPLATE_FILES = "debian/rules.tmpl debian/control.tmpl" TEMPLATE_VARS += "DEBIAN_BUILD_DEPENDS \ + DEBIAN_COMPAT \ OPTEE_FTPM_BUILD_ARGS_EXTRA \ TA_CPU \ TA_DEV_KIT_DIR"
According to https://lintian.debian.org/tags/uses-debhelper-compat-file.html compat files should be replaced by a build dependency to the debhelper-compat virtual package. Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com> --- meta/recipes-bsp/optee-ftpm/files/debian/compat | 1 - meta/recipes-bsp/optee-ftpm/files/debian/control.tmpl | 2 +- meta/recipes-bsp/optee-ftpm/optee-ftpm.inc | 3 ++- 3 files changed, 3 insertions(+), 3 deletions(-)