Moving developer dependencies to separate function in install.sh
Developer dependencies are ~1GB
This commit is contained in:
+10
-2
@@ -136,7 +136,6 @@ function mn_deps {
|
|||||||
echo "Installing Mininet dependencies"
|
echo "Installing Mininet dependencies"
|
||||||
$install gcc make socat psmisc xterm ssh iperf iproute telnet \
|
$install gcc make socat psmisc xterm ssh iperf iproute telnet \
|
||||||
python-setuptools cgroup-bin ethtool help2man \
|
python-setuptools cgroup-bin ethtool help2man \
|
||||||
doxygen doxypy texlive-fonts-recommended \
|
|
||||||
pyflakes pylint pep8
|
pyflakes pylint pep8
|
||||||
|
|
||||||
# Add sysctl parameters as noted in the INSTALL file to increase kernel
|
# Add sysctl parameters as noted in the INSTALL file to increase kernel
|
||||||
@@ -154,6 +153,12 @@ function mn_deps {
|
|||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Install Mininet developer dependencies
|
||||||
|
function mn_dev {
|
||||||
|
echo "Installing Mininet developer dependencies"
|
||||||
|
$install doxygen doxypy texlive-fonts-recommended
|
||||||
|
}
|
||||||
|
|
||||||
# The following will cause a full OF install, covering:
|
# The following will cause a full OF install, covering:
|
||||||
# -user switch
|
# -user switch
|
||||||
# The instructions below are an abbreviated version from
|
# The instructions below are an abbreviated version from
|
||||||
@@ -565,6 +570,7 @@ function all {
|
|||||||
echo "Running all commands..."
|
echo "Running all commands..."
|
||||||
kernel
|
kernel
|
||||||
mn_deps
|
mn_deps
|
||||||
|
mn_dev
|
||||||
of
|
of
|
||||||
wireshark
|
wireshark
|
||||||
ovs
|
ovs
|
||||||
@@ -628,6 +634,7 @@ function usage {
|
|||||||
printf -- ' -k: install new (K)ernel\n' >&2
|
printf -- ' -k: install new (K)ernel\n' >&2
|
||||||
printf -- ' -m: install Open vSwitch kernel (M)odule from source dir\n' >&2
|
printf -- ' -m: install Open vSwitch kernel (M)odule from source dir\n' >&2
|
||||||
printf -- ' -n: install mini(N)et dependencies + core files\n' >&2
|
printf -- ' -n: install mini(N)et dependencies + core files\n' >&2
|
||||||
|
printf -- ' -e: install mininet d(E)veloper dependencies\n' >&2
|
||||||
printf -- ' -p: install (P)OX OpenFlow Controller\n' >&2
|
printf -- ' -p: install (P)OX OpenFlow Controller\n' >&2
|
||||||
printf -- ' -r: remove existing Open vSwitch packages\n' >&2
|
printf -- ' -r: remove existing Open vSwitch packages\n' >&2
|
||||||
printf -- ' -t: complete o(T)her Mininet VM setup tasks\n' >&2
|
printf -- ' -t: complete o(T)her Mininet VM setup tasks\n' >&2
|
||||||
@@ -646,7 +653,7 @@ if [ $# -eq 0 ]
|
|||||||
then
|
then
|
||||||
all
|
all
|
||||||
else
|
else
|
||||||
while getopts 'abcdfhkmnprtvwx03i:' OPTION
|
while getopts 'abcdefhkmnprtvwx03i:' OPTION
|
||||||
do
|
do
|
||||||
case $OPTION in
|
case $OPTION in
|
||||||
a) all;;
|
a) all;;
|
||||||
@@ -662,6 +669,7 @@ else
|
|||||||
k) kernel;;
|
k) kernel;;
|
||||||
m) modprobe;;
|
m) modprobe;;
|
||||||
n) mn_deps;;
|
n) mn_deps;;
|
||||||
|
e) mn_dev;;
|
||||||
p) pox;;
|
p) pox;;
|
||||||
r) remove_ovs;;
|
r) remove_ovs;;
|
||||||
t) vm_other;;
|
t) vm_other;;
|
||||||
|
|||||||
Reference in New Issue
Block a user