public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Florian Bezdeka' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: Quirin Gylstorff <quirin.gylstorff@siemens.com>
Subject: [PATCH 7/7] meta-isar: optee-examples: Replace debian/compat by debhelper-compat
Date: Fri, 14 Mar 2025 20:33:38 +0100	[thread overview]
Message-ID: <20250314-flo-remove-compat-files-v1-7-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-isar/recipes-bsp/optee-examples/files/debian/compat              | 1 -
 meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl        | 2 +-
 .../recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb    | 4 ++--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta-isar/recipes-bsp/optee-examples/files/debian/compat b/meta-isar/recipes-bsp/optee-examples/files/debian/compat
deleted file mode 100644
index f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2..0000000000000000000000000000000000000000
--- a/meta-isar/recipes-bsp/optee-examples/files/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl b/meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl
index b0e70399f24a61571a2820525b2681d0fa0200c6..85c9735f68be3895246b5c01c3838475bbcc1f79 100644
--- a/meta-isar/recipes-bsp/optee-examples/files/debian/control.tmpl
+++ b/meta-isar/recipes-bsp/optee-examples/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: ${PN}-acipher-ta
diff --git a/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb b/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb
index 8614a17045b83e4f8bfaa3c837feb96a062f8f50..f734e6eba6cd642db120e5bddd9aeb80551c046b 100644
--- a/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb
+++ b/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb
@@ -1,5 +1,5 @@
 #
-# Copyright (c) Siemens AG, 2023
+# Copyright (c) Siemens AG, 2023-2025
 #
 # SPDX-License-Identifier: MIT
 inherit dpkg
@@ -43,7 +43,7 @@ DEBIAN_BUILD_DEPENDS ?= " \
     optee-os-tadevkit-${OPTEE_NAME}"
 
 TEMPLATE_FILES = "debian/control.tmpl debian/rules.tmpl"
-TEMPLATE_VARS += "DEBIAN_BUILD_DEPENDS OPTEE_PLATFORM TA_DEV_KIT_DIR"
+TEMPLATE_VARS += "DEBIAN_BUILD_DEPENDS OPTEE_PLATFORM TA_DEV_KIT_DIR DEBIAN_COMPAT"
 
 do_prepare_build() {
     cp -r ${WORKDIR}/debian ${S}/

-- 
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-7-fab2d8b18266%40siemens.com.

  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 ` [PATCH 3/7] meta: optee-os: " 'Florian Bezdeka' via isar-users
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 ` 'Florian Bezdeka' via isar-users [this message]
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-7-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