From: Andrea Bucci <andreavb1985(a)gmail.com>
Debian 10 has slightly different requirements than Ubuntu 19.10; hence,
creating a new section in the README file and introducing Debian
requirements file.
Signed-off-by: Andrea Bucci <andreavb1985(a)gmail.com>
---
docs/README.md | 16 ++++++++++++++++
requirements-DEBIAN.txt | 4 ++++
2 files changed, 20 insertions(+)
create mode 100644 requirements-DEBIAN.txt
diff --git a/docs/README.md b/docs/README.md
index 068b15e5..1c1d9845 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -62,6 +62,22 @@ before starting up the wokd service.
sudo -H pip3 install -r requirements-UBUNTU.txt
sudo apt install -y python3-configobj python3-lxml python3-magic python3-paramiko
python3-ldap spice-html5 novnc qemu-kvm python3-libvirt python3-parted python3-guestfs
python3-pil python3-cherrypy3 python3-pam libvirt0 libvirt-daemon-system libvirt-clients
nfs-common sosreport open-iscsi libguestfs-tools
+## Debian
+
+**Development Dependencies**
+
+ sudo -H pip3 install -r requirements-dev.txt
+ sudo apt install -y gcc make autoconf automake git python3-pip python3-requests
python3-mock gettext pkgconf xsltproc python3-dev pep8 pyflakes python3-yaml
+
+**Runtime Dependencies**
+
+ # Install libnl-route-3-dev in order to install ethtool using pip
+ sudo apt install libnl-route-3-dev
+
+ sudo -H pip3 install -r requirements-DEBIAN.txt
+ sudo apt install -y bc libguestfs-tools libvirt0 libvirt-clients
libvirt-daemon-system nfs-common novnc open-iscsi python3-cherrypy3 python3-configobj
python3-guestfs python3-ldap python3-libvirt python3-lxml python3-magic python3-pampy
python3-paramiko python3-parted python3-pil python3-requests sosreport spice-html5
qemu-kvm
+ sudo apt remove --purge python3-jsonschema
+
## openSUSE LEAP
**Development Dependencies**
diff --git a/requirements-DEBIAN.txt b/requirements-DEBIAN.txt
new file mode 100644
index 00000000..bc6c0fbd
--- /dev/null
+++ b/requirements-DEBIAN.txt
@@ -0,0 +1,4 @@
+distro
+ethtool
+ipaddr
+jsonschema
--
2.20.1