diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-08-06 20:35:28 +0200 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2021-08-09 15:25:46 +0300 |
commit | 86015f0957cd754d03a4187cc376cf9218848cdd (patch) | |
tree | d0a109e29630c2fb497511c0c4d9eedaf4dbdfe0 | |
parent | 0df167c61f30619834f719bc38d2d612c9c70595 (diff) | |
download | meta-raspberrypi-86015f0957cd754d03a4187cc376cf9218848cdd.tar.gz |
userland: package man pages in PN-doc
* last userland upgrade in:
https://github.com/agherzan/meta-raspberrypi/commit/2a25b7ef8bb7b366a93dbe42d40ebf3923d1fccc
brings this upstream commit:
https://github.com/raspberrypi/userland/commit/45a0022ac64b4d0788def3c5230c972430f6fc23
which results in:
ERROR: userland-20210623-r0 do_package: QA Issue: userland: Files/directories were installed but not shipped in any package:
/usr/man
/usr/man/man1
/usr/man/man7
/usr/man/man1/raspistill.1
/usr/man/man1/raspividyuv.1
/usr/man/man1/dtparam.1
/usr/man/man1/raspivid.1
/usr/man/man1/tvservice.1
/usr/man/man1/vcmailbox.1
/usr/man/man1/raspiyuv.1
/usr/man/man1/dtoverlay.1
/usr/man/man1/vcgencmd.1
/usr/man/man1/dtmerge.1
/usr/man/man7/raspicam.7
/usr/man/man7/raspirev.7
/usr/man/man7/raspiotp.7
/usr/man/man7/vcmailbox.7
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
userland: 17 installed and not shipped files. [installed-vs-shipped]
it's incorrectly installed in /usr/man by CMake as discussed in upstream
move it to /usr/share/man where it's picked by default FILES:${PN}-doc
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | recipes-graphics/userland/userland_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb index aac1c3c..a2ae918 100644 --- a/recipes-graphics/userland/userland_git.bb +++ b/recipes-graphics/userland/userland_git.bb | |||
@@ -88,6 +88,10 @@ do_install:append () { | |||
88 | ln -sf brcmegl.pc ${D}${libdir}/pkgconfig/egl.pc | 88 | ln -sf brcmegl.pc ${D}${libdir}/pkgconfig/egl.pc |
89 | ln -sf brcmvg.pc ${D}${libdir}/pkgconfig/vg.pc | 89 | ln -sf brcmvg.pc ${D}${libdir}/pkgconfig/vg.pc |
90 | fi | 90 | fi |
91 | # Currently man files are installed in /usr/man instead of /usr/share/man, see comments in: | ||
92 | # https://github.com/raspberrypi/userland/commit/45a0022ac64b4d0788def3c5230c972430f6fc23 | ||
93 | mkdir -pv ${D}${datadir} | ||
94 | mv -v ${D}${prefix}/man ${D}${mandir} | ||
91 | } | 95 | } |
92 | 96 | ||
93 | # Shared libs from userland package build aren't versioned, so we need | 97 | # Shared libs from userland package build aren't versioned, so we need |