diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-03-04 13:58:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-06 08:19:18 +0000 |
commit | 177c9b49b8aeb4cd2453f4e5568b8efef42b2038 (patch) | |
tree | 9c50032b8c4b07257cbdfcc0674b1de2acd0a264 /meta/recipes-devtools | |
parent | ebc39a1856ee589666dde98d22af71f6be0de76f (diff) | |
download | poky-177c9b49b8aeb4cd2453f4e5568b8efef42b2038.tar.gz |
libmodule-build-perl: make it reproducible
Particularly, delete html docs as they have sysroot
paths in them, and adjust build configuration to not
refer to host paths either.
(From OE-Core rev: 7f58aed9d7b07d9f86717fc0c45b31b1887eb36a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb b/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb index b1967c7b03..a6fd7b1c07 100644 --- a/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb +++ b/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb | |||
@@ -33,13 +33,26 @@ do_patch_module_build () { | |||
33 | 33 | ||
34 | do_patch[postfuncs] += "do_patch_module_build" | 34 | do_patch[postfuncs] += "do_patch_module_build" |
35 | 35 | ||
36 | EXTRA_CPAN_BUILD_FLAGS = "--create_packlist=0" | ||
37 | |||
38 | do_install_append () { | ||
39 | rm -rf ${D}${docdir}/perl/html | ||
40 | } | ||
41 | |||
36 | do_install_ptest() { | 42 | do_install_ptest() { |
37 | cp -r ${B}/inc ${D}${PTEST_PATH} | 43 | cp -r ${B}/inc ${D}${PTEST_PATH} |
38 | cp -r ${B}/blib ${D}${PTEST_PATH} | 44 | cp -r ${B}/blib ${D}${PTEST_PATH} |
39 | cp -r ${B}/_build ${D}${PTEST_PATH} | 45 | cp -r ${B}/_build ${D}${PTEST_PATH} |
40 | cp -r ${B}/lib ${D}${PTEST_PATH} | 46 | cp -r ${B}/lib ${D}${PTEST_PATH} |
41 | chown -R root:root ${D}${PTEST_PATH} | 47 | chown -R root:root ${D}${PTEST_PATH} |
42 | sed -i -e "s,'perl' => .*,'perl' => '/usr/bin/perl'\,,g" ${D}${PTEST_PATH}/_build/build_params | 48 | sed -i -e "s,'perl' => .*,'perl' => '/usr/bin/perl'\,,g" \ |
49 | -e "s,${STAGING_BINDIR_NATIVE}/perl-native/\.\.,${bindir}/,g" \ | ||
50 | -e "s,${S},,g" \ | ||
51 | -e "s,${D},,g" \ | ||
52 | ${D}${PTEST_PATH}/_build/build_params \ | ||
53 | ${D}${PTEST_PATH}/_build/runtime_params | ||
54 | rm -rf ${D}${PTEST_PATH}/blib/libhtml/site/lib/Module/ | ||
55 | rm -rf ${D}${PTEST_PATH}/_build/magicnum | ||
43 | } | 56 | } |
44 | 57 | ||
45 | RDEPENDS_${PN} += " \ | 58 | RDEPENDS_${PN} += " \ |