]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: drop pod2man from hosttools
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 31 Jan 2020 18:49:35 +0000 (19:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Feb 2020 00:09:59 +0000 (00:09 +0000)
pod2man writes the current date into manpages, and while later
versions of it respect SOURCE_DATE_EPOCH and use that instead,
earlier versions do not. This was found to cause reproducibility
issues.

This patch replaces host version of pod2man with one from
perl-native.

[YOCTO #13755]

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf
meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb

index b6aa9f33e92ad9f72b2b606a1ca1e8e5d5c2c9da..f7544b35c6efffea8ddba3927a7915528834cf9b 100644 (file)
@@ -488,7 +488,7 @@ HOSTTOOLS += " \
     cpp cut date dd diff diffstat dirname du echo egrep env expand expr false \
     fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \
     head hostname iconv id install ld ldd ln ls make makeinfo md5sum mkdir mknod \
-    mktemp mv nm objcopy objdump od patch perl pod2man pr printf pwd \
+    mktemp mv nm objcopy objdump od patch perl pr printf pwd \
     python3 ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh sha256sum \
     sleep sort split stat strings strip tail tar tee test touch tr true uname \
     uniq wc wget which xargs \
index 6495726500f1098999afe77ca778f61f1c73fa1f..8e7ef00b0878402f47cc759888abb1ba6e438f06 100644 (file)
@@ -18,6 +18,8 @@ TARGET_CC_ARCH += "${LDFLAGS}"
 
 RDEPENDS_${PN} += "bash"
 
+inherit perlnative
+
 # For native builds we use the host Python
 PYTHONRDEPS = "python3 python3-shell python3-io python3-math python3-crypt python3-logging python3-fcntl python3-pickle python3-compression python3-stringold"
 PYTHONRDEPS_class-native = ""