summaryrefslogtreecommitdiffstats
path: root/meta-sota/README.md
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-12-27 17:59:55 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2016-12-27 17:59:55 +0100
commitc932bdc0b245b0ab536c6f0b98cb82fd5e18ec0e (patch)
tree36d6839b42814d94b5715c7ee4423cf6e469e0b4 /meta-sota/README.md
parent5999238130b1c50031307b0f4b00bf7f2a035d41 (diff)
Update default branch name in the documentation
Bug-AGL: SPEC-381 Change-Id: I1244bbd1c80982f7486090fb4abab5fb2e88f560 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'meta-sota/README.md')
-rw-r--r--meta-sota/README.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/meta-sota/README.md b/meta-sota/README.md
index 2e27fd3..3bc242f 100644
--- a/meta-sota/README.md
+++ b/meta-sota/README.md
@@ -81,13 +81,14 @@ network is set up correctly.
```bash
# agl-remote identifies the remote server in your local repo
-ostree remote add --no-gpg-verify agl-remote http://192.168.7.1:57556 agl-ota
+ostree remote add --no-gpg-verify agl-remote http://192.168.7.1:57556 agl-ota-raspberrypi3
-# agl-ota is a branch name in the remote repo, set in OSTREE_BRANCHNAME
-ostree pull agl-remote agl-ota
+# agl-ota-raspberrypi3 is a branch name in the remote repo, set in OSTREE_BRANCHNAME
+# default value for OSTREE_BRANCHNAME is "agl-ota-${MACHINE}"
+ostree pull agl-remote agl-ota-raspberrypi3
# agl is OS name as set in OSTREE_OSNAME
-ostree admin deploy --os=agl agl-remote:agl-ota
+ostree admin deploy --os=agl agl-remote:agl-ota-raspberrypi3
```
After restart you should boot into the newly deployed OS image.
@@ -99,10 +100,10 @@ E.g. for the raspberrypi3 you can try this sequence:
ostree remote add --no-gpg-verify agl-snapshot https://download.automotivelinux.org/AGL/snapshots/master/latest/raspberrypi3/deploy/images/raspberrypi3/ostree_repo/ agl-ota
# pull
-ostree pull agl-snapshot agl-ota
+ostree pull agl-snapshot agl-ota-raspberrypi3
# deploy
-ostree admin deploy --os=agl agl-snapshot:agl-ota
+ostree admin deploy --os=agl agl-snapshot:agl-ota-raspberrypi3
```
### SOTA tools ###