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

Changelog parent: 1689669b4b8c60514b28b19ddd4fb32a5bf85409

New changelog entries:
  [ Michael Vogt ]
  * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
    - port static uid/gid setup from ubuntu-touch
  [ Ricardo Salveti de Araujo ]
  * Bump the hardcoded libmirplatform driver version for ubuntu-touch
2015-01-14 15:38:33 +00:00

11 lines
574 B
Bash
Executable File

#!/bin/sh
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
echo "I: making android the default alternatives for @DEB_HOST_MULTIARCH@_mirplatform5driver_conf"
update-alternatives --set @DEB_HOST_MULTIARCH@_mirplatform5driver_conf /usr/lib/@DEB_HOST_MULTIARCH@/mir/platform5driver/android/ld.so.conf
# ldconfig needs to be run immediately as we're changing /etc/ld.so.conf.d/ with alternatives.
LDCONFIG_NOTRIGGER=y ldconfig