aboutsummaryrefslogtreecommitdiff
path: root/rpb-debian-iot.yaml
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo.salveti@linaro.org>2017-02-09 21:07:20 -0200
committerRicardo Salveti <ricardo.salveti@linaro.org>2017-02-09 21:07:27 -0200
commit524df01387d67f91af8ded7bc1761756db425cc8 (patch)
tree450fa05667e20febdd50f1d9302a73561889ff43 /rpb-debian-iot.yaml
parenta3adde93fe584a5f69d153a2982bb39646828984 (diff)
rpb-debian-iot: log iot_gateway_files git rev
Change-Id: I3841702aa0475116da215de327e498a348584821 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Diffstat (limited to 'rpb-debian-iot.yaml')
-rw-r--r--rpb-debian-iot.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpb-debian-iot.yaml b/rpb-debian-iot.yaml
index 0aac15a1..fce4025d 100644
--- a/rpb-debian-iot.yaml
+++ b/rpb-debian-iot.yaml
@@ -97,6 +97,7 @@
# Add default config file templates
git clone --depth 1 https://github.com/linaro-technologies/iot-gateway-files.git
+ cd iot-gateway-files; IOT_GATEWAY_FILES_GIT_VERSION=`git log --format="%H" -1`; cd ..
sudo cp -av iot-gateway-files/etc-sysctrl.d-gateway.conf rootfs/etc/sysctl.d/gateway.conf
sudo cp -av iot-gateway-files/etc-network-interface.d-bt0 rootfs/etc/network/interfaces.d/bt0
sudo cp -av iot-gateway-files/etc-radvd.conf rootfs/etc/radvd.conf
@@ -135,6 +136,7 @@
* Build URL: "$BUILD_URL":$BUILD_URL
* Developer Rootfs: "http://snapshots.linaro.org/debian/images/stretch/developer-arm64/$ROOTFS_BUILD_NUMBER":http://snapshots.linaro.org/debian/images/stretch/developer-arm64/$ROOTFS_BUILD_NUMBER
* Kernel: "linux-image-$KERNEL_VERSION":http://repo.linaro.org/ubuntu/linaro-overlay/pool/main/l/linux/
+ * IoT Gateway Files: "$IOT_GATEWAY_FILES_GIT_VERSION":https://github.com/linaro-technologies/iot-gateway-files/tree/$IOT_GATEWAY_FILES_GIT_VERSION
EOF
# Create boot image