Skip to content

Commit

Permalink
fixing makefile and yaks service file (#174)
Browse files Browse the repository at this point in the history
Signed-off-by: gabrik <gabriele.baldoni@gmail.com>
  • Loading branch information
gabrik committed Jan 31, 2020
1 parent 802ad87 commit eacf26b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The Eclipse fog05 SDK is written in OCaml, it support version 4.07.1, we recomen
it using `opam`, please follow this link for installation instructions [opam installation](https://opam.ocaml.org/doc/Install.html).


Once `opam` is installed you need to install the following some packages verify the OCaml version, and if needed downgrade to 4.07.1
Once `opam` is installed you need to install the following some packages verify the OCaml version, it should be 4.09.0


```
Expand All @@ -26,7 +26,6 @@ sudo pip3 install pyangbind
$ opam switch
# switch compiler description
→ defaut ocaml-base-compiler.4.09.0 defaut
$ opam switch create fos ocaml-base-compiler.4.07.1
....
```
Expand All @@ -53,17 +52,17 @@ mkdir fos_build
cd fos_build
git clone https://github.com/atolab/apero-core
cd apero-core
git checkout 0.4.5
git checkout 0.4.6
opam install . --working-dir -y
cd ..
git clone https://github.com/atolab/apero-net
cd apero-net
git checkout 0.4.5
git checkout 0.4.6
opam install . --working-dir -y
cd ..
git clone https://github.com/atolab/apero-time
cd apero-time
git checkout 0.4.5
git checkout 0.4.6
opam install . --working-dir -y
cd ..
git clone https://github.com/atolab/zenoh
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ endif
sudo id -u fos >/dev/null 2>&1 || sudo useradd -r -s /bin/false fos
sudo usermod -aG sudo fos
ifeq ($(shell uname -m), x86_64)
curl -L -o /tmp/yaks.tar.gz https://www.dropbox.com/s/omlj6chql19g74s/yaks.tar.gz
curl -L -o /tmp/yaks.tar.gz https://www.dropbox.com/s/hx6w8qs9i4cx5r1/yaks.0.3.0.tar.gz
else ifeq ($(shell uname -m), armv7l)
curl -L -o /tmp/yaks.tar.gz https://www.dropbox.com/s/wi65knmjcj74pgg/yaks.tar.gz
else ifeq ($(shell uname -m), aarch64)
Expand Down
2 changes: 1 addition & 1 deletion etc/yaks.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ After=network.target
[Service]
Type=simple
PIDFile=/var/fos/yaksd.pid
ExecStart = /etc/fos/zenohd -P "/etc/fos/yaks-plugin.cmxs" -vv
ExecStart = /etc/fos/zenohd -P "/etc/fos/yaks-plugin.cmxs -s /**"
KillMode=process
Restart=on-failure
[Install]
Expand Down

0 comments on commit eacf26b

Please sign in to comment.