]> code.ossystems Code Review - openembedded-core.git/commitdiff
bootchart2: Fix manpage reproducibility issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 27 Feb 2021 14:15:24 +0000 (14:15 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 27 Feb 2021 22:40:36 +0000 (22:40 +0000)
The compressed docs contained a timestamp of the original file which
meant the SDE clamping during package creation didn't work. The
benefits of compression are minor, decompress the files to avoid
the reproducibility issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/reproducible.py
meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb

index 05fc4b7fa0acda6be9b6b11936fffa7f06f35ae1..ff3e3be63f12b595d551597412ee4147dc5b30bd 100644 (file)
@@ -28,7 +28,6 @@ import datetime
 # ruby-ri-docs, meson:
 #https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210215-0_td9la2/packages/diff-html/
 exclude_packages = [
-       'bootchart2-doc',
        'efivar',
        'glide',
        'go-dep',
index 6571c1993872ac9199610e0c848636e4ded160d1..f6a77b46060cbe31417b1269f8f00136d76ff65e 100644 (file)
@@ -139,6 +139,9 @@ do_install () {
 
    # Use python 3 instead of python 2
    sed -i -e '1s,#!.*python.*,#!${USRBINPATH}/env python3,' ${D}${bindir}/pybootchartgui
+
+    # The timestamps embedded in compressed man pages is not reproducible
+    gzip -d ${D}${mandir}/man1/*.gz
 }
 
 PACKAGES =+ "pybootchartgui"