public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/1] fix(isar-exclude-docs): drop dpkg path filter into correct path
@ 2026-09-09 16:48 'Felix Moessbauer' via isar-users
  2026-09-14 12:35 ` Zhihang Wei
  0 siblings, 1 reply; 2+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2026-09-09 16:48 UTC (permalink / raw)
  To: isar-users; +Cc: jan.kiszka, Felix Moessbauer

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%)

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}"
 }
-- 
2.55.0

-- 
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/20260909164824.1190442-1-felix.moessbauer%40siemens.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] fix(isar-exclude-docs): drop dpkg path filter into correct path
  2026-09-09 16:48 [PATCH 1/1] fix(isar-exclude-docs): drop dpkg path filter into correct path 'Felix Moessbauer' via isar-users
@ 2026-09-14 12:35 ` Zhihang Wei
  0 siblings, 0 replies; 2+ messages in thread
From: Zhihang Wei @ 2026-09-14 12:35 UTC (permalink / raw)
  To: Felix Moessbauer, isar-users; +Cc: jan.kiszka

Applied to next, thanks.

Zhihang

On 9/9/26 18:48, 'Felix Moessbauer' via isar-users wrote:
> 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%)
>
> 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}"
>   }

-- 
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/87bbbb2a-9e04-4fb1-a389-6ab97961fb70%40ilbers.de.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-14 12:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-09 16:48 [PATCH 1/1] fix(isar-exclude-docs): drop dpkg path filter into correct path 'Felix Moessbauer' via isar-users
2026-09-14 12:35 ` Zhihang Wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox