[1/1] fix: restore building of isar-exclude-docs package

Message ID 20261016114937.3811478-1-felix.moessbauer@siemens.com
State Under Review
Headers show
Series [1/1] fix: restore building of isar-exclude-docs package | expand

Commit Message

Felix Moessbauer Oct. 16, 2026, 11:49 a.m. UTC
In d6b395c5 we replaced the isar-exclude-docs logic with a rootfs
feature and issued a warning that the old isar-exclude-docs package
should not be used anymore. However, exactly this warning broke the
package itself, as it replaced the do_prepare_build function which is
used to create the debianization.

We now just prepend to that function instead of replacing it, which
issues the warning but keeps the package buildable.

Fixes: d6b395c5 ("isar-exclude-docs: model via rootfs feature")
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 .../isar-exclude-docs/isar-exclude-docs_0.2.3.bb                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.3.bb b/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.3.bb
index 5b641fba..a64a24ab 100644
--- a/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.3.bb
+++ b/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.3.bb
@@ -15,6 +15,6 @@  do_install() {
     install -v -m 644 "${WORKDIR}/${BPN}" "${D}/etc/dpkg/dpkg.cfg.d/99${BPN}"
 }
 
-do_prepare_build() {
+do_prepare_build:prepend() {
     bbwarn "This package is deprecated. Use the corresponding exclude-docs rootfs feature instead."
 }