diff options
author | Magnus Feuer <mfeuer@jaguarlandrover.com> | 2016-02-25 11:23:49 -0800 |
---|---|---|
committer | Magnus Feuer <mfeuer@jaguarlandrover.com> | 2016-02-25 11:23:49 -0800 |
commit | c4145a753b76c7cc87fa40ce4c88c58a16cd1095 (patch) | |
tree | ef5ba51a058c37eb64b6c06454b7407b3426ebf5 | |
parent | 255089dfcf1fab461eed368c7efdbab21cd65da4 (diff) | |
download | rvi_core-c4145a753b76c7cc87fa40ce4c88c58a16cd1095.tar.gz |
Updated scripts to create device_id files containing the entire node prefix instead of just an UUID. Paired with updated config files
-rw-r--r-- | debian_template/rvi.postinst | 2 | ||||
-rw-r--r-- | ubuntu_template/rvi.postinst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/debian_template/rvi.postinst b/debian_template/rvi.postinst index 10c11fe..e4bf50d 100644 --- a/debian_template/rvi.postinst +++ b/debian_template/rvi.postinst @@ -24,7 +24,7 @@ case "$1" in configure) # Set up our config - cat /proc/sys/kernel/random/uuid > /etc/rvi/device_id + echo "genivi.org/node/$(cat /proc/sys/kernel/random/uuid)" > /etc/rvi/device_id echo "RVI Device ID set to $(cat /etc/rvi/device_id) in /etc/rvi/device_id" #DEBHELPER# ;; diff --git a/ubuntu_template/rvi.postinst b/ubuntu_template/rvi.postinst index f6d5de5..d1e36e8 100644 --- a/ubuntu_template/rvi.postinst +++ b/ubuntu_template/rvi.postinst @@ -24,7 +24,7 @@ case "$1" in configure) # Set up our config for apache - cat /proc/sys/kernel/random/uuid > /etc/rvi/device_id + echo "genivi.org/node/$(cat /proc/sys/kernel/random/uuid)" > /etc/rvi/device_id echo "RVI Device ID set to $(cat /etc/rvi/device_id) in /etc/rvi/device_id" update-rc.d rvi defaults ;; |