diff options
| author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-11-21 16:41:03 +0100 |
|---|---|---|
| committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-11-22 15:04:30 +0100 |
| commit | 5c2171ae14a6dc56d6e2d13b9d1fb7f4690c4e9d (patch) | |
| tree | 7c910c01252effae0e62b16a13383729807d8208 /README.md | |
| parent | 5d256428b1683ed3952d5aa554f96eb2f5c851ae (diff) | |
| download | meta-updater-5c2171ae14a6dc56d6e2d13b9d1fb7f4690c4e9d.tar.gz | |
Bump versions of meta-sota utilities
Change-Id: I36a4d3d24826ab8776bc980b50aef8606af9e7a8
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 7 insertions, 9 deletions
| @@ -49,11 +49,9 @@ SOTA-related variables in local.conf | |||
| 49 | * OSTREE_INITRAMFS_IMAGE - initramfs/initrd image that is used as a proxy while | 49 | * OSTREE_INITRAMFS_IMAGE - initramfs/initrd image that is used as a proxy while |
| 50 | booting into OSTree deployment. Do not change this setting unless you are | 50 | booting into OSTree deployment. Do not change this setting unless you are |
| 51 | sure that your initramfs can serve as such proxy. | 51 | sure that your initramfs can serve as such proxy. |
| 52 | * OSTREE_REMOTE_URL - when set adds pushing your ostree commit to a remote | 52 | * OSTREE_PUSH_CREDENTIALS - when set adds pushing your ostree commit to a remote |
| 53 | repo. Defaults to an empty string. | 53 | repo. sota-tools will then use credentials in the file pointed to by this |
| 54 | * OSTREE_REMOTE_USER and OSTREE_REMOTE_PASSWORD - should be set if | 54 | variable. |
| 55 | OSTREE_REMOTE_URL is set. Used to authenticate to the server set in | ||
| 56 | OSTREE_REMOTE_URL. Both default to an empty string. | ||
| 57 | 55 | ||
| 58 | Usage | 56 | Usage |
| 59 | ----- | 57 | ----- |
| @@ -100,8 +98,8 @@ changes in OSTree repository generated by bitbake process. It communicates with | |||
| 100 | an http server capable of querying files with HEAD requests and uploading them | 98 | an http server capable of querying files with HEAD requests and uploading them |
| 101 | with POST requests. garage-push is used as following: | 99 | with POST requests. garage-push is used as following: |
| 102 | 100 | ||
| 103 | garage-push --repo=/path/to/ostree-repo --ref=mybranch --url=https://my.ostree.server/ --user=username --password=password | 101 | garage-push --repo=/path/to/ostree-repo --ref=mybranch --credentials=~/.sota-tools.json --user=username --password= |
| 104 | 102 | ||
| 105 | You can set OSTREE_REMOTE_URL, OSTREE_REMOTE_USER and OSTREE_REMOTE_PASSWORD in | 103 | You can set OSTREE_PUSH_CREDENTIALS in your local.conf to make your build |
| 106 | your local.conf to make your build results be automatically synchronized with a | 104 | results be automatically synchronized with a remote server. |
| 107 | remote server. | 105 | Credentials are stored in JSON format which is described in [sota-tools documentation](https://github.com/advancedtelematic/sota-tools/blob/master/README.adoc) |
