Explorar el Código

isar-exclude-docs: include "native" package changelogs

So called "native" packages will put the debian changelog into the
package as "changelog" and not "changelog.Debian".
dh_installchangelogs(1)

We have the file from ubuntu and with this change we start doing things
differently. For isar "raw" packages will be "native" so we probably
want that no matter what ubuntu might think. I still started a
discussion on the topic.
https://github.com/tianon/docker-brew-ubuntu-core/issues/216

This was found when working on reproducible builds, for some reason the
changelogs of the raw packages did not differ, because they are not in
the rootfs.

Reported-by: <Venkata.Pyla@toshiba-tsip.com>
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Henning Schild hace 3 años
padre
commit
19c31264f5

+ 1 - 1
meta/recipes-support/isar-exclude-docs/files/isar-exclude-docs

@@ -8,4 +8,4 @@ path-exclude=/usr/share/doc/*
 path-include=/usr/share/doc/*/copyright
 
 # ... and Debian changelogs
-path-include=/usr/share/doc/*/changelog.Debian.*
+path-include=/usr/share/doc/*/changelog.*

+ 1 - 1
meta/recipes-support/isar-exclude-docs/files/postinst

@@ -4,4 +4,4 @@
 # what we delete needs to be in sync with the dpkg configuration we ship
 
 rm -rf /usr/share/man/*
-find /usr/share/doc/ -type f ! -name "copyright" ! -name "changelog.Debian.*" -exec rm -rf {} \;
+find /usr/share/doc/ -type f ! -name "copyright" ! -name "changelog.*" -exec rm -rf {} \;

+ 0 - 0
meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.1.bb → meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.bb