jjb/common: lava-labs-prepare: fix lavacli config error 89/20689/1
authorKevin Hilman <khilman@baylibre.com>
Thu, 14 Mar 2019 19:05:45 +0000 (12:05 -0700)
committerKevin Hilman <khilman@baylibre.com>
Thu, 14 Mar 2019 19:06:10 +0000 (12:06 -0700)
lavacli doesn't like an empty config file.  The first "identities add"
will automatcially create the new config file, as long as the
~/.config dir exists.

Change-Id: I337f8b6883362a0f01b58e34645c825a186ab7d7
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
jjb/common/include-agl-lava-labs-prepare.sh

index 2335b0a..ac46bf5 100644 (file)
@@ -70,7 +70,7 @@ for lab in "${!labs[@]}"; do
     rm -f $token_file
 
     # lavacli auth using token
-    mkdir -p ~/.config && touch ~/.config/lavacli.yaml
+    mkdir -p ~/.config
     lavacli identities add --token ${token} --uri $full_url --username $user $lab
 
     # lavacli: Find the LAVA lab that has the device available to run the job