* [PATCH 0/2] Removal of deb_compat
@ 2024-02-21 8:42 Quirin Gylstorff
2024-02-21 8:42 ` [PATCH 1/2] Add removal of deb_compat to API changelog Quirin Gylstorff
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Quirin Gylstorff @ 2024-02-21 8:42 UTC (permalink / raw)
To: jan.kiszka, isar-users, felix.moessbauer
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
This patchset:
- adds the removal of deb_compat to the changelog
- optional patch prints a warning in case deb_compat is used.
Quirin Gylstorff (2):
Add removal of deb_compat to API changelog.
debianize: add_warning in case deb_compat is used
RECIPE-API-CHANGELOG.md | 6 ++++++
meta/classes/debianize.bbclass | 4 ++++
2 files changed, 10 insertions(+)
--
2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] Add removal of deb_compat to API changelog.
2024-02-21 8:42 [PATCH 0/2] Removal of deb_compat Quirin Gylstorff
@ 2024-02-21 8:42 ` Quirin Gylstorff
2024-02-21 8:42 ` [PATCH 2/2] debianize: add_warning in case deb_compat is used Quirin Gylstorff
2024-02-29 13:18 ` [PATCH 0/2] Removal of deb_compat Uladzimir Bely
2 siblings, 0 replies; 4+ messages in thread
From: Quirin Gylstorff @ 2024-02-21 8:42 UTC (permalink / raw)
To: jan.kiszka, isar-users, felix.moessbauer
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
The function deb_compat was replaced with a dependency to
debhelper-compat.
Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
RECIPE-API-CHANGELOG.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md
index bea12871..2da7968d 100644
--- a/RECIPE-API-CHANGELOG.md
+++ b/RECIPE-API-CHANGELOG.md
@@ -566,3 +566,9 @@ supported, but a warning is issued when it is used. Future versions will drop
When building a custom kernel module, the `KBuild` file might be located in
a subdirectory. To support this use-case, set `MODULE_DIR=$(PWD)/subdir` in
the module build recipe.
+
+### function debianize:deb_compat is removed
+
+Remove all uses of the function deb_compat. The functionality was replaced with
+a dependency to the package debhelper-compat.
+
--
2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] debianize: add_warning in case deb_compat is used
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
2024-02-29 13:18 ` [PATCH 0/2] Removal of deb_compat Uladzimir Bely
2 siblings, 0 replies; 4+ messages in thread
From: Quirin Gylstorff @ 2024-02-21 8:42 UTC (permalink / raw)
To: jan.kiszka, isar-users, felix.moessbauer
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Removal of deb_compat
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 ` [PATCH 2/2] debianize: add_warning in case deb_compat is used Quirin Gylstorff
@ 2024-02-29 13:18 ` Uladzimir Bely
2 siblings, 0 replies; 4+ messages in thread
From: Uladzimir Bely @ 2024-02-29 13:18 UTC (permalink / raw)
To: Quirin Gylstorff, jan.kiszka, isar-users, felix.moessbauer
On Wed, 2024-02-21 at 09:42 +0100, 'Quirin Gylstorff' via isar-users
wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>
> This patchset:
> - adds the removal of deb_compat to the changelog
> - optional patch prints a warning in case deb_compat is used.
>
> Quirin Gylstorff (2):
> Add removal of deb_compat to API changelog.
> debianize: add_warning in case deb_compat is used
>
> RECIPE-API-CHANGELOG.md | 6 ++++++
> meta/classes/debianize.bbclass | 4 ++++
> 2 files changed, 10 insertions(+)
>
> --
> 2.43.0
>
Applied to next, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-02-29 13:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH 2/2] debianize: add_warning in case deb_compat is used Quirin Gylstorff
2024-02-29 13:18 ` [PATCH 0/2] Removal of deb_compat Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox