2014-07-17 11:44:36 -07:00
|
|
|
Getting Started
|
|
|
|
===============
|
|
|
|
|
|
|
|
Prerequisites
|
|
|
|
-------------
|
2014-07-22 11:15:56 -07:00
|
|
|
* python-ifupdown2 is currently only tested on debian wheezy
|
2014-07-17 11:44:36 -07:00
|
|
|
* python-ifupdown2 needs python version 2.6 or greater
|
|
|
|
* build depends on: python-stdeb (for deb builds), python-docutils (for rst2man)
|
2014-07-22 11:15:56 -07:00
|
|
|
* depends on python-gvgen package for printing interface graphs (this will be made optional in the future)
|
2014-07-17 11:44:36 -07:00
|
|
|
* optional dependency for template engine: python-mako
|
2014-07-22 11:15:56 -07:00
|
|
|
* python-ifupdown2 needs python-ifupdown2-addons to function correctly
|
2014-07-17 11:44:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
Building
|
|
|
|
--------
|
2014-07-22 11:15:56 -07:00
|
|
|
$git clone <ifupdown2 git url> ifupdown2
|
2014-07-17 11:44:36 -07:00
|
|
|
|
2014-07-22 11:15:56 -07:00
|
|
|
$cd ifupdown2/ifupdown2
|
|
|
|
|
|
|
|
$./build.sh
|
2014-07-17 11:44:36 -07:00
|
|
|
|
|
|
|
Installing
|
|
|
|
----------
|
|
|
|
install generated python-ifupdown2-<ver>.deb
|
2014-07-22 11:15:56 -07:00
|
|
|
|
|
|
|
$dpkg -i <python-ifupdown2-addons-<ver>.deb
|
|
|
|
|