summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-08-01 21:17:48 +0800
committerLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-08-01 21:17:48 +0800
commite79d17f2d173da97b72940274b21d73adb04955e (patch)
tree1017bc5593c345aa6eb633f52912a4528540e4f5 /README.md
parent96e1db2374dfc27a60f2a0152c71dd9889538b18 (diff)
Update outdated instructions
Bug-AGL: SPEC-2714 Change-Id: Id11b1ba109ef835dd5dc866154117d2f5699923c Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 29d52db..49bde78 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
-# helloworld-service
+# Helloworld Service
A binding example for AGL
## Pre-requisites
-Please follow [this guide](http://docs.automotivelinux.org/master/docs/devguides/en/dev/reference/host-configuration/docs/1_Prerequisites.html)
+Please follow [this guide](https://docs.automotivelinux.org/docs/en/master/devguides/reference/2-download-packages.html)
to add the AGL-Master repository to your distribution. In order to load these files into the current shell script, use the following command :
* **Debian/Ubuntu**
@@ -85,13 +85,13 @@ cd agl-service-helloworld
#setup your build environement
. /xdt/sdk/environment-setup-aarch64-agl-linux
#build your application
-./conf.d/autobuild/agl/autobuild package
+./autobuild/agl/autobuild package
```
## Build for 'native' Linux distros (Fedora, openSUSE, Debian, Ubuntu, ...)
```bash
-./conf.d/autobuild/linux/autobuild package
+./autobuild/linux/autobuild package
```
You can also use binary package from OBS: [opensuse.org/LinuxAutomotive][opensuse.org/LinuxAutomotive]
@@ -102,7 +102,7 @@ You can also use binary package from OBS: [opensuse.org/LinuxAutomotive][opensus
```bash
export YOUR_BOARD_IP=192.168.1.X
-export APP_NAME=helloworld-service
+export APP_NAME=agl-service-helloworld
scp build/${APP_NAME}.wgt root@${YOUR_BOARD_IP}:/tmp
ssh root@${YOUR_BOARD_IP} afm-util install /tmp/${APP_NAME}.wgt
APP_VERSION=$(ssh root@${YOUR_BOARD_IP} afm-util list | grep ${APP_NAME}@ | cut -d"\"" -f4| cut -d"@" -f2)
@@ -129,7 +129,7 @@ curl http://${YOUR_BOARD_IP}:${PORT}/api/helloworld/ping?token=x 2>/dev/null | p
### Native Linux
For native build you need to have tools **afb-daemon**.
-You can build it by your self [app-framework-binder][app-framework-binder], or use binary package from OBS: [opensuse.org/LinuxAutomotive][opensuse.org/LinuxAutomotive]
+You can build it by yourself [app-framework-binder][app-framework-binder], or use binary package from OBS: [opensuse.org/LinuxAutomotive][opensuse.org/LinuxAutomotive]
```bash
export PORT=8000