From 135f1dca856775d0d365c0c1045a7add8626da01 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Tue, 16 Oct 2018 11:20:59 +0200 Subject: Permit to set a group on boards This patch permit to add a group on boards --- lava-slave/scripts/setup.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lava-slave/scripts') diff --git a/lava-slave/scripts/setup.sh b/lava-slave/scripts/setup.sh index ef20790..9fbd796 100755 --- a/lava-slave/scripts/setup.sh +++ b/lava-slave/scripts/setup.sh @@ -88,6 +88,10 @@ do echo "DEBUG: give $devicename to $DEVICE_USER" DEVICE_OPTS="$DEVICE_OPTS --user $DEVICE_USER" fi + if [ ! -z "$DEVICE_GROUP" ];then + echo "DEBUG: give $devicename to group $DEVICE_GROUP" + DEVICE_OPTS="$DEVICE_OPTS --group $DEVICE_GROUP" + fi fi echo "Add device $devicename on $worker" grep -q "$devicename[[:space:]]" /tmp/devices.list -- cgit 1.2.3-korg