[1/1] fix(isar-exclude-docs): drop dpkg path filter into correct path

Message ID 20260909164824.1190442-1-felix.moessbauer@siemens.com
State Priority Review
Headers show
Series [1/1] fix(isar-exclude-docs): drop dpkg path filter into correct path | expand

Commit Message

Felix Moessbauer Sept. 9, 2026, 4:48 p.m. UTC
The dpkg path filter never worked, as it was dropped into a location
dpkg does not read from. This issue was shadowed by the postinst script
which also wipes the corresponding paths. However, the result (which
paths are wiped) then depended on the install order, which resulted in
documentation not being removed.

Fixes: f9b6f874 ("meta: recipes-support shrink with preconfig ...")
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 ...{isar-exclude-docs_0.2.2.bb => isar-exclude-docs_0.2.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/isar-exclude-docs/{isar-exclude-docs_0.2.2.bb => isar-exclude-docs_0.2.3.bb} (66%)

Patch

diff --git a/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.2.bb b/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.3.bb
similarity index 66%
rename from meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.2.bb
rename to meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.3.bb
index dc538187..a5aa06f4 100644
--- a/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.2.bb
+++ b/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.3.bb
@@ -9,8 +9,8 @@  DEBIAN_SECTION = "utils"
 SRC_URI = "file://${BPN} \
 	   file://postinst"
 
-do_install[cleandirs] += "${D}/etc/dpkg/dpkg.conf.d/"
+do_install[cleandirs] += "${D}/etc/dpkg/dpkg.cfg.d/"
 
 do_install() {
-    install -v -m 644 "${WORKDIR}/${BPN}" "${D}/etc/dpkg/dpkg.conf.d/99${BPN}"
+    install -v -m 644 "${WORKDIR}/${BPN}" "${D}/etc/dpkg/dpkg.cfg.d/99${BPN}"
 }