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 committed Mar 18, 2024
1 parent 95a9103 commit 5ac6b05
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 @@ -9,6 +9,7 @@ include recipes-bsp/common/raspberrypi-firmware.inc
S = "${WORKDIR}/raspberrypi-firmware-1.${PV}"

do_install(){
rm -f ${S}/opt/vc/lib/libGLES* ${S}/opt/vc/lib/libEGL* ${S}/opt/vc/lib/libWFC.so ${S}/opt/vc/lib/libOpenVG.so
install -m 0755 -d ${D}${libdir}
install -m 0755 ${S}/opt/vc/lib/*.so ${D}${libdir}
}
Expand Down

0 comments on commit 5ac6b05

Please sign in to comment.