public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/1] bugfix: isar-exclude-docs delete man folders but some packages expect that folders
@ 2022-09-22 20:36 Roberto A. Foglietta
  2022-09-22 21:31 ` Roberto A. Foglietta
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Roberto A. Foglietta @ 2022-09-22 20:36 UTC (permalink / raw)
  To: isar-users

[-- Attachment #1: Type: text/plain, Size: 1618 bytes --]

Hi all,

bugfix: isar-exclude-docs delete man folders but some packages expect that
folders.
solution: adopts the same approach used for the doc folder.

https://github.com/robang74/isar/commit/c656e6df63aa76701e34d7ee3f99c81e96312b9d

diff --git a/meta/recipes-support/isar-exclude-docs/files/postinst
b/meta/recipes-support/isar-exclude-docs/files/postinst
index d34c04e..581cdc1 100644
--- a/meta/recipes-support/isar-exclude-docs/files/postinst
+++ b/meta/recipes-support/isar-exclude-docs/files/postinst
@@ -3,5 +3,5 @@
 # time and do not need to be "the first" package
 # what we delete needs to be in sync with the dpkg configuration we ship

-rm -rf /usr/share/man/*
+find /usr/share/man/ -type f -exec rm -rf {} \;
 find /usr/share/doc/ -type f ! -name "copyright" ! -name "changelog.*"
-exec rm -rf {} \;

Here you are the error during the configuration of the package:

Setting up openjdk-11-jre-headless:amd64 (11.0.16+8-1~deb11u1) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to
provide /usr/bin/java (java) in auto mode
update-alternatives: error: error creating symbolic link
'/usr/share/man/man1/java.1.gz.dpkg-tmp': No such file or directory
dpkg: error processing package openjdk-11-jre-headless:amd64 (--configure):
 installed openjdk-11-jre-headless:amd64 package post-installation script
subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of openjdk-11-jre:amd64:
 openjdk-11-jre:amd64 depends on openjdk-11-jre-headless (=
11.0.16+8-1~deb11u1); however:
  Package openjdk-11-jre-headless:amd64 is not configured yet.

Cheers, R-

[-- Attachment #2: Type: text/html, Size: 1961 bytes --]

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

end of thread, other threads:[~2022-09-23 14:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 20:36 [PATCH 1/1] bugfix: isar-exclude-docs delete man folders but some packages expect that folders Roberto A. Foglietta
2022-09-22 21:31 ` Roberto A. Foglietta
2022-09-23 12:01   ` Henning Schild
2022-09-23 14:18     ` Roberto A. Foglietta
2022-09-23 14:39       ` Henning Schild
2022-09-23  8:06 ` Moessbauer, Felix
2022-09-23  9:31   ` Roberto A. Foglietta
2022-09-23 11:18     ` Henning Schild
2022-09-23  8:57 ` Henning Schild
2022-09-23  9:25   ` Henning Schild

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