diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-27 14:15:24 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-27 22:40:42 +0000 |
commit | 8b145a898a01ac4cd8b8f6e213789717ea0f2251 (patch) | |
tree | 58fb291ad2c5df0d505696cd587d0efbd0fab138 | |
parent | 43ca8ad614cf245c1824d05d850da51f0cb29d11 (diff) | |
download | poky-8b145a898a01ac4cd8b8f6e213789717ea0f2251.tar.gz |
bootchart2: Fix manpage reproducibility issue
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.
(From OE-Core rev: a3b59a67bea16899b57a0d187120c988495da4d5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/selftest/cases/reproducible.py | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index 05fc4b7fa0..ff3e3be63f 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py | |||
@@ -28,7 +28,6 @@ import datetime | |||
28 | # ruby-ri-docs, meson: | 28 | # ruby-ri-docs, meson: |
29 | #https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210215-0_td9la2/packages/diff-html/ | 29 | #https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210215-0_td9la2/packages/diff-html/ |
30 | exclude_packages = [ | 30 | exclude_packages = [ |
31 | 'bootchart2-doc', | ||
32 | 'efivar', | 31 | 'efivar', |
33 | 'glide', | 32 | 'glide', |
34 | 'go-dep', | 33 | 'go-dep', |
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb index 6571c19938..f6a77b4606 100644 --- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb +++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb | |||
@@ -139,6 +139,9 @@ do_install () { | |||
139 | 139 | ||
140 | # Use python 3 instead of python 2 | 140 | # Use python 3 instead of python 2 |
141 | sed -i -e '1s,#!.*python.*,#!${USRBINPATH}/env python3,' ${D}${bindir}/pybootchartgui | 141 | sed -i -e '1s,#!.*python.*,#!${USRBINPATH}/env python3,' ${D}${bindir}/pybootchartgui |
142 | |||
143 | # The timestamps embedded in compressed man pages is not reproducible | ||
144 | gzip -d ${D}${mandir}/man1/*.gz | ||
142 | } | 145 | } |
143 | 146 | ||
144 | PACKAGES =+ "pybootchartgui" | 147 | PACKAGES =+ "pybootchartgui" |