bluez: Automatically set DeviceID based on Chrome OS version

This uses /etc/os-release at runtime to detect the current Chrome OS
version number and replaces the DeviceID config based on that.

TEST=deploy bluez package, restart bluetoothd and check the used
DeviceID from the debug logs in /var/log/messages

Change-Id: If52e89b7f7443962a50fe59c4f02a02d4a53735a
Reviewed-by: Alain Michaud <>
Reviewed-by: Stephane Belmon <>
Commit-Queue: Alain Michaud <>
Tested-by: Alain Michaud <>
2 files changed