diff options
author | 2022-05-20 14:30:07 -0400 | |
---|---|---|
committer | 2022-05-23 07:56:47 -0700 | |
commit | d3d8e62bf1caa3870a504c0addcfd200b33c189f (patch) | |
tree | e291a3a21a88fbbbca573a93bb8fdf450709f124 | |
parent | b874791a97cc427b0f951cf5dc2abd94813944c7 (diff) | |
download | meta-security-kirkstone.tar.gz meta-security-kirkstone.tar.bz2 meta-security-kirkstone.zip |
lib-perl: prefix man pages to avoid conflicting with base perlkirkstone
The following occurs when pkgs-docs added to image features.
Error: Transaction test error:
file /usr/share/man/man3/lib.3 conflicts between attempted installs of lib-perl-doc-0.63-r0.corei7_64 and perl-doc-5.34.1-r0.corei7_64
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit e05ce8fb3943755ef7c73c07e456e8ee8757f7bd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-perl/perl/lib-perl_0.63.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-perl/perl/lib-perl_0.63.bb b/recipes-perl/perl/lib-perl_0.63.bb index 4c964d5..25d0890 100644 --- a/recipes-perl/perl/lib-perl_0.63.bb +++ b/recipes-perl/perl/lib-perl_0.63.bb @@ -26,3 +26,10 @@ do_compile() { export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" cpan_do_compile } + +do_install:append() { + # Man pages here conflict wtih the main perl documentation + for page in ${D}${mandir}/man*/*; do + mv $page $(dirname $page)/${BPN}-$(basename $page) + done +} |