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.

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

Change-Id: If52e89b7f7443962a50fe59c4f02a02d4a53735a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/2270916
Reviewed-by: Alain Michaud <alainm@chromium.org>
Reviewed-by: Stephane Belmon <sbelmon@google.com>
Commit-Queue: Alain Michaud <alainm@chromium.org>
Tested-by: Alain Michaud <alainm@chromium.org>
2 files changed