rpi-firmware: regenerate ld.so(8) cache at post-install.
- Regenerate ld.so(8) cache at post-install for /opt/vc/lib. - Do not replace libGLES/EGL vpkgs, they can co-exist with the mesa ones. - Use shlib_provides to set our shlibs.
This commit is contained in:
parent
658ea9588a
commit
d5d688f84b
2 changed files with 28 additions and 4 deletions
7
srcpkgs/rpi-firmware/INSTALL
Normal file
7
srcpkgs/rpi-firmware/INSTALL
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
case "$ACTION" in
|
||||||
|
post)
|
||||||
|
if [ -x sbin/ldconfig ]; then
|
||||||
|
sbin/ldconfig -X || :
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
|
@ -3,7 +3,7 @@ _githash="e42a747e8d5c4a2fb3e837d0924c7cc39999936a"
|
||||||
_gitshort="${_githash:0:7}"
|
_gitshort="${_githash:0:7}"
|
||||||
|
|
||||||
pkgname=rpi-firmware
|
pkgname=rpi-firmware
|
||||||
version=20150206
|
version=20150207
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="firmware-${_githash}"
|
wrksrc="firmware-${_githash}"
|
||||||
|
@ -15,8 +15,25 @@ distfiles="https://github.com/raspberrypi/firmware/archive/${_githash}.tar.gz"
|
||||||
checksum=a59eb7b1a2238e326d669a4754eec4b5da5e0f9a12e097f2fa64df9c26015fad
|
checksum=a59eb7b1a2238e326d669a4754eec4b5da5e0f9a12e097f2fa64df9c26015fad
|
||||||
|
|
||||||
conf_files="/boot/cmdline.txt /boot/config.txt"
|
conf_files="/boot/cmdline.txt /boot/config.txt"
|
||||||
provides="libEGL-1.0_1 libGLES-1.0_1"
|
provides="libGLES-1.0_1 libEGL-1.0_1"
|
||||||
replaces="libEGL>=0 libGLES>=0"
|
shlib_provides="
|
||||||
|
libvcsm.so
|
||||||
|
libvcos.so
|
||||||
|
libvchiq_arm.so
|
||||||
|
libopenmaxil.so
|
||||||
|
libmmal_vc_client.so
|
||||||
|
libmmal_util.so
|
||||||
|
libmmal_core.so
|
||||||
|
libmmal_components.so
|
||||||
|
libmmal.so
|
||||||
|
libdebug_sym.so
|
||||||
|
libcontainers.so
|
||||||
|
libbcm_host.so
|
||||||
|
libWFC.so
|
||||||
|
libOpenVG.so
|
||||||
|
libGLESv2.so
|
||||||
|
libEGL.so
|
||||||
|
libGLESv1_CM.so"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
rm -f boot/*.img
|
rm -f boot/*.img
|
||||||
|
@ -31,7 +48,7 @@ do_install() {
|
||||||
cp -R hardfp/opt/vc/{bin,include,lib,sbin,src,LICENCE} ${DESTDIR}/opt/vc
|
cp -R hardfp/opt/vc/{bin,include,lib,sbin,src,LICENCE} ${DESTDIR}/opt/vc
|
||||||
|
|
||||||
vmkdir etc/ld.so.conf.d
|
vmkdir etc/ld.so.conf.d
|
||||||
echo "/opt/vc/lib/" > ${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf
|
echo "/opt/vc/lib" > ${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf
|
||||||
|
|
||||||
vmkdir usr/share/licenses/${pkgname}
|
vmkdir usr/share/licenses/${pkgname}
|
||||||
mv ${DESTDIR}/boot/LICENCE.broadcom ${DESTDIR}/usr/share/licenses/${pkgname}
|
mv ${DESTDIR}/boot/LICENCE.broadcom ${DESTDIR}/usr/share/licenses/${pkgname}
|
||||||
|
|
Loading…
Reference in a new issue