livecd-rootfs/live-build/ubuntu-touch/hooks/80-enable-libhybris.chroot
Ricardo Salveti de Araujo 0ae537f96e Import patches-unapplied version 2.207 to ubuntu/trusty-proposed
Imported using git-ubuntu import.

Changelog parent: ed058a9ed5da502f2187c4ebcdda719829377a69

New changelog entries:
  * touch/80-enable-libhybris.chroot: making libhybris the default alternatives
    for EGL/GLESv2 on touch
2014-03-19 00:53:18 +00:00

10 lines
397 B
Bash
Executable File

#!/bin/sh
DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
echo "I: making libhybris the default alternatives for ${DEB_HOST_MULTIARCH}_egl_conf"
update-alternatives --set ${DEB_HOST_MULTIARCH}_egl_conf /usr/lib/$DEB_HOST_MULTIARCH/libhybris-egl/ld.so.conf
# ldconfig needs to be run immediately as we're changing /etc/ld.so.conf.d/ with alternatives.
LDCONFIG_NOTRIGGER=y ldconfig