From: "'Florian Bezdeka' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: Quirin Gylstorff <quirin.gylstorff@siemens.com>
Subject: [PATCH 3/7] meta: optee-os: Replace debian/compat by debhelper-compat
Date: Fri, 14 Mar 2025 20:33:34 +0100 [thread overview]
Message-ID: <20250314-flo-remove-compat-files-v1-3-fab2d8b18266@siemens.com> (raw)
In-Reply-To: <20250314-flo-remove-compat-files-v1-0-fab2d8b18266@siemens.com>
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-os/files/debian/compat | 1 -
meta/recipes-bsp/optee-os/files/debian/control.tmpl | 2 +-
meta/recipes-bsp/optee-os/optee-os.inc | 4 ++--
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-bsp/optee-os/files/debian/compat b/meta/recipes-bsp/optee-os/files/debian/compat
deleted file mode 100644
index f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2..0000000000000000000000000000000000000000
--- a/meta/recipes-bsp/optee-os/files/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/meta/recipes-bsp/optee-os/files/debian/control.tmpl b/meta/recipes-bsp/optee-os/files/debian/control.tmpl
index fdf898e89320761b362b0520d3a5d8272c56c4ea..7bcd6edb75b4c62f8137136a237a38b10865db58 100644
--- a/meta/recipes-bsp/optee-os/files/debian/control.tmpl
+++ b/meta/recipes-bsp/optee-os/files/debian/control.tmpl
@@ -2,7 +2,7 @@ Source: ${PN}
Section: admin
Priority: optional
Standards-Version: 3.9.6
-Build-Depends: ${DEBIAN_BUILD_DEPENDS}
+Build-Depends: debhelper-compat (= ${DEBIAN_COMPAT}), ${DEBIAN_BUILD_DEPENDS}
Maintainer: ISAR project <isar-users@googlegroups.com>
Package: ${DEBIAN_PACKAGE_NAME}
diff --git a/meta/recipes-bsp/optee-os/optee-os.inc b/meta/recipes-bsp/optee-os/optee-os.inc
index d2c5cd935c5ca923a4cf086ce71c01117e2f8205..eac75ae8b4bc3034847202a2448b0212dcd7f515 100644
--- a/meta/recipes-bsp/optee-os/optee-os.inc
+++ b/meta/recipes-bsp/optee-os/optee-os.inc
@@ -1,7 +1,7 @@
# Custom OP-TEE OS build
#
# This software is a part of ISAR.
-# Copyright (c) Siemens AG, 2020-2023
+# Copyright (c) Siemens AG, 2020-2025
#
# SPDX-License-Identifier: MIT
@@ -23,7 +23,7 @@ DEBIAN_PACKAGE_NAME ?= "optee-os-${OPTEE_NAME}"
DEBIAN_BUILD_DEPENDS ?= "python3-pycryptodome:native, python3-pyelftools"
TEMPLATE_FILES = "debian/control.tmpl debian/rules.tmpl"
-TEMPLATE_VARS += "DEBIAN_PACKAGE_NAME OPTEE_NAME DEBIAN_BUILD_DEPENDS OPTEE_PLATFORM OPTEE_EXTRA_BUILDARGS"
+TEMPLATE_VARS += "DEBIAN_COMPAT DEBIAN_PACKAGE_NAME OPTEE_NAME DEBIAN_BUILD_DEPENDS OPTEE_PLATFORM OPTEE_EXTRA_BUILDARGS"
# split strip platform flavor, if any, from the specified platform string
OPTEE_PLATFORM_BASE = "${@d.getVar('OPTEE_PLATFORM').split('-')[0]}"
--
2.48.1
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250314-flo-remove-compat-files-v1-3-fab2d8b18266%40siemens.com.
next prev parent reply other threads:[~2025-03-14 19:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-14 19:33 [PATCH 0/7] Replace debian/compat files by a build dependency to debhelper-compat 'Florian Bezdeka' via isar-users
2025-03-14 19:33 ` [PATCH 1/7] meta: uboot: Replace debian/compat by debhelper-compat 'Florian Bezdeka' via isar-users
2025-03-14 19:33 ` [PATCH 2/7] meta: trusted-firmware-a: " 'Florian Bezdeka' via isar-users
2025-03-14 19:33 ` 'Florian Bezdeka' via isar-users [this message]
2025-03-14 19:33 ` [PATCH 4/7] meta: optee-ftpm: " 'Florian Bezdeka' via isar-users
2025-03-14 19:33 ` [PATCH 5/7] meta: optee-client: Update debianization to allow compat level increase 'Florian Bezdeka' via isar-users
2025-03-14 19:33 ` [PATCH 6/7] meta: optee-client: Replace debian/compat by debhelper-compat 'Florian Bezdeka' via isar-users
2025-03-14 19:33 ` [PATCH 7/7] meta-isar: optee-examples: " 'Florian Bezdeka' via isar-users
2025-03-25 16:57 ` [PATCH 0/7] Replace debian/compat files by a build dependency to debhelper-compat Uladzimir Bely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250314-flo-remove-compat-files-v1-3-fab2d8b18266@siemens.com \
--to=isar-users@googlegroups.com \
--cc=florian.bezdeka@siemens.com \
--cc=quirin.gylstorff@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox