Skip to content

Commit

Permalink
removed useless lines in makefile
Browse files Browse the repository at this point in the history
Signed-off-by: gabrik <gabriele.baldoni@gmail.com>
  • Loading branch information
gabrik committed Feb 7, 2020
1 parent b62eb10 commit 512fbe0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,29 +59,17 @@ endif
sudo usermod -aG sudo fos
cp ./fos_build/zenohd/_build/default/zenoh-router-daemon/zenohd.exe /etc/fos/zenohd
cp ./fos_build/yaks/_build/default/src/yaks/yaks-plugin.cmxs /etc/fos/zenohd/yaks-plugin.cmxs
# ifeq ($(shell uname -m), x86_64)
# 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)
# curl -L -o /tmp/yaks.tar.gz https://www.dropbox.com/s/oj4z80c1jwofv2a/yaks.tar.gz
# endif
# tar -xzvf /tmp/yaks.tar.gz -C /etc/fos
# rm -rf /tmp/yaks.tar.gz

ifeq "$(wildcard $(VAR_FOS_DIR))" ""
sudo mkdir -p /var/fos
sudo chown fos:fos /var/fos
endif

echo "fos ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers > /dev/null
# sudo cp src/agent/_build/default/fos-agent/fos_agent.exe /etc/fos/agent
make -C plugins/plugin-os-linux install

sudo cp etc/yaks.service /lib/systemd/system/
sudo cp etc/yaks.target /lib/systemd/system/
sudo ln -sf /etc/fos/yaksd /usr/bin/yaksd
sudo ln -sf /etc/fos/agent /usr/bin/fagent

lldp:
sudo mkdir -p /etc/fos/lldpd
Expand Down

0 comments on commit 512fbe0

Please sign in to comment.