diff options
author | Li Xiaoming <lixm.fnst@cn.fujitsu.com> | 2019-08-01 21:17:48 +0800 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-08-01 15:50:45 +0000 |
commit | 8a6ce8e3284f0ec4fbc62a5fa22a7397ad326b84 (patch) | |
tree | 1017bc5593c345aa6eb633f52912a4528540e4f5 /README.md | |
parent | 96e1db2374dfc27a60f2a0152c71dd9889538b18 (diff) |
Update outdated instructionshalibut_8.0.1halibut_8.0.0halibut/8.0.1halibut/8.0.08.0.18.0.0
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.md | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |