on xenial help sign in
Check if libubuntu_application_api.so exist, if not don't use it
f5b6600Marius Gripsgard
data/unity8.conf+4−2
@@ -78,8 +78,10 @@ pre-start script
78 fi
78 fi
79
79
80 # HACK! WORKAROUND FOR HALIUM MISSING UBUNTU_PLATFORM_API
80 # HACK! WORKAROUND FOR HALIUM MISSING UBUNTU_PLATFORM_API
81+ if [ ! -f /system/lib/libubuntu_application_api.so ]; then
81− initctl set-env --global UBUNTU_PLATFORM_API_BACKEND=test.so.3
82+ initctl set-env --global UBUNTU_PLATFORM_API_BACKEND=test.so.3
82− initctl set-env --global UBUNTU_PLATFORM_API_SENSOR_TEST=/etc/ubuntusensors/test.sensors
83+ initctl set-env --global UBUNTU_PLATFORM_API_SENSOR_TEST=/etc/ubuntusensors/test.sensors
84+ fi
83end script
85end script
84
86
85exec ${BINARY:-unity8} --mode=$MODE $ARGS
87exec ${BINARY:-unity8} --mode=$MODE $ARGS