on xenial help sign in
Check if libubuntu_application_api.so exist, if not don't use it
5d924f5Marius Gripsgard
data/unity8.conf+4−2
@@ -66,8 +66,10 @@ pre-start script
66 fi
66 fi
67
67
68 # HACK! WORKAROUND FOR HALIUM MISSING UBUNTU_PLATFORM_API
68 # HACK! WORKAROUND FOR HALIUM MISSING UBUNTU_PLATFORM_API
69+ if [ ! -f /system/lib/libubuntu_application_api.so ]; then
69− initctl set-env --global UBUNTU_PLATFORM_API_BACKEND=test.so.3
70+ initctl set-env --global UBUNTU_PLATFORM_API_BACKEND=test.so.3
70− initctl set-env --global UBUNTU_PLATFORM_API_SENSOR_TEST=/etc/ubuntusensors/test.sensors
71+ initctl set-env --global UBUNTU_PLATFORM_API_SENSOR_TEST=/etc/ubuntusensors/test.sensors
72+ fi
71end script
73end script
72
74
73exec ${BINARY:-unity8} --mode=$MODE $ARGS
75exec ${BINARY:-unity8} --mode=$MODE $ARGS