esac
done
-REQUIREDSOCKETS="dbus.socket security-manager.socket"
-REQUIREDSERVICES="afm-system-daemon.service connman.service ofono.service weston.service bluetooth.service"
+REQUIREDSOCKETS="dbus.socket"
+REQUIREDSERVICES="connman.service weston.service"
ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}"
RESULT="unknown"
RESULT="pass"
else
RESULT="fail"
+ if [[ ${i} == "bluetooth.service" ]]; then
+ if [[ ${DEVICE_TAGS} != *"bluetooth"* ]] || [[ ${BUILD_TAGS} != *"bluetooth"* ]]; then
+ RESULT="skip"
+ fi
+ fi
+ if [[ ${i} == "ofono.service" ]]; then
+ if [[ ${DEVICE_TAGS} != *"bluetooth"* ]] || [[ ${BUILD_TAGS} != *"bluetooth"* ]]; then
+ RESULT="skip"
+ fi
+ fi
fi
fi