public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Henning Schild <henning.schild@siemens.com>
To: <isar-users@googlegroups.com>
Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>,
	Henning Schild <henning.schild@siemens.com>
Subject: [PATCH 1/2] isar-exclude-docs: remove only files in postinst
Date: Fri, 23 Sep 2022 16:53:31 +0200	[thread overview]
Message-ID: <20220923145332.8410-1-henning.schild@siemens.com> (raw)

From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>

That aligns us with the dpkg.conf.d snippet which in fact leaves empty
directories in place.

Signed-off-by: Roberto A. Foglietta <roberto.foglietta@gmail.com>
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
 meta/recipes-support/isar-exclude-docs/files/postinst           | 2 +-
 .../{isar-exclude-docs_0.2.bb => isar-exclude-docs_0.2.1.bb}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/isar-exclude-docs/{isar-exclude-docs_0.2.bb => isar-exclude-docs_0.2.1.bb} (100%)

diff --git a/meta/recipes-support/isar-exclude-docs/files/postinst b/meta/recipes-support/isar-exclude-docs/files/postinst
index d34c04ea47f0..581cdc1339e8 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 {} \;
diff --git a/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.bb b/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.1.bb
similarity index 100%
rename from meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.bb
rename to meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.1.bb
-- 
2.35.1


             reply	other threads:[~2022-09-23 14:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-23 14:53 Henning Schild [this message]
2022-09-23 14:53 ` [PATCH 2/2] isar-exclude-docs: delete also links not just files Henning Schild
2022-09-23 16:30   ` Henning Schild
2022-09-23 18:07     ` Roberto A. Foglietta
2022-10-06  9:37 ` [PATCH 1/2] isar-exclude-docs: remove only files in postinst Anton Mikanovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220923145332.8410-1-henning.schild@siemens.com \
    --to=henning.schild@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=roberto.foglietta@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox