Skip to content

Commit

Permalink
picamera-libs: removed unused libraries from python3-picamera
Browse files Browse the repository at this point in the history
Apparently the recipe for python3 picamera is installing some libraries
from /opt/vc/lib that are not necessary to the picamera module. The
gles2 library, in particular, overwrites a symlink to another version
of the gles2 library. The result is that two different gles2 libs are
placed in /usr/lib.

This commit removes a few unneeded libraries, leaving libmmal and its
dependencies, that are instead required.

Signed-off-by: Luca Carlon <[email protected]>
  • Loading branch information
carlonluca authored and agherzan committed Dec 13, 2024
1 parent a2f8a64 commit 97d7a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes-multimedia/picamera-libs/picamera-libs.bb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ S = "${RPIFW_S}"
do_install(){
install -m 0755 -d ${D}${libdir}
install -m 0755 ${S}/opt/vc/lib/*.so ${D}${libdir}
rm -f ${D}${libdir}/libGLES* ${D}${libdir}/libEGL* ${D}${libdir}/libWFC.so ${D}${libdir}/libOpenVG.so
}

FILES:${PN} = "${libdir}"
Expand Down

0 comments on commit 97d7a6b

Please sign in to comment.