From: Quirin Gylstorff <Quirin.Gylstorff@siemens.com>
To: jan.kiszka@siemens.com, isar-users@googlegroups.com,
felix.moessbauer@siemens.com
Subject: [PATCH 2/2] debianize: add_warning in case deb_compat is used
Date: Wed, 21 Feb 2024 09:42:20 +0100 [thread overview]
Message-ID: <20240221084257.16543-3-Quirin.Gylstorff@siemens.com> (raw)
In-Reply-To: <20240221084257.16543-1-Quirin.Gylstorff@siemens.com>
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
This avoids build errors if the function deb_compat is used.
Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
meta/classes/debianize.bbclass | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/classes/debianize.bbclass b/meta/classes/debianize.bbclass
index 7de98673..98e48799 100644
--- a/meta/classes/debianize.bbclass
+++ b/meta/classes/debianize.bbclass
@@ -80,6 +80,10 @@ Description: ${DESCRIPTION}
EOF
}
+deb_compat() {
+ bbwarn "Function deb_compat is deprecated and the content was\nreplaced with a dependency to debhelper-compat!"
+}
+
DH_FIXPERM_EXCLUSIONS = \
"${@' '.join(['-X ' + x for x in \
(d.getVar('PRESERVE_PERMS', False) or '').split()])}"
--
2.43.0
next prev parent reply other threads:[~2024-02-21 8:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 8:42 [PATCH 0/2] Removal of deb_compat Quirin Gylstorff
2024-02-21 8:42 ` [PATCH 1/2] Add removal of deb_compat to API changelog Quirin Gylstorff
2024-02-21 8:42 ` Quirin Gylstorff [this message]
2024-02-29 13:18 ` [PATCH 0/2] Removal of deb_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=20240221084257.16543-3-Quirin.Gylstorff@siemens.com \
--to=quirin.gylstorff@siemens.com \
--cc=felix.moessbauer@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@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