aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYohanPipereau <ypiperea@cisco.com>2019-02-22 15:58:27 +0100
committerHongjun Ni <hongjun.ni@intel.com>2019-02-25 05:42:55 +0000
commit34adbaa08710678aea59127f28becf834e29a200 (patch)
tree7603f990e69bf389d4d0a1c20815d731695eed8c
parente74f9b38302b1b386cefa3b40e6579dfaf7235a2 (diff)
Fix install-vpp instructions in Makefile for debian-based machines.
Change-Id: I154f790cfe8ce179d9dee84a56436db79f12373e Signed-off-by: Yohan Pipereau <ypiperea@cisco.com>
-rw-r--r--Makefile2
-rw-r--r--README.md5
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 079ba4a..a9849ba 100644
--- a/Makefile
+++ b/Makefile
@@ -181,7 +181,7 @@ install-vpp:
@echo "please install vpp as vpp's guide from source if failed"
ifeq ($(PKG),deb)
# @curl -s https://packagecloud.io/install/repositories/fdio/release/script.deb.sh | sudo bash
- @sudo -E apt-get $(CONFIRM) $(FORCE) install vpp libvppinfra* vpp-plugin-* vpp-dev
+ @sudo -E apt-get $(CONFIRM) $(FORCE) install vpp vpp-lib vpp-plugins vpp-dev
else ifeq ($(PKG),rpm)
# @curl -s https://packagecloud.io/install/repositories/fdio/release/script.rpm.sh | sudo bash
ifeq ($(OS_ID),centos)
diff --git a/README.md b/README.md
index 69d907e..44fb2e8 100644
--- a/README.md
+++ b/README.md
@@ -26,13 +26,16 @@ Details of the changes leading up to this version of Sweetcomb can be found unde
## Getting started
+Make sure you have added FD.io repository using https://packagecloud.io/fdio/release/
+installation script.
+
Firstly, please follow below steps to install dependencies and build code:
cd $/sweetcomb/
make install-dep
make install-dep-extra
make install-vpp
make build-scvpp
- make build
+ make build-plugins
Then, please start each daemon one by one:
start vpp (for example on Ubuntu: systemctl start vpp)