mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
lib-perl: prefix man pages to avoid conflicting with base perl
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>
This commit is contained in:
committed by
Armin Kuster
parent
17d7ad92ea
commit
e05ce8fb39
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user