[Kimchi-devel] [PATCH 4/7] Add libvirt-daemon-config-network package as Kimchi dependency

Aline Manera alinefm at linux.vnet.ibm.com
Thu Apr 23 19:51:05 UTC 2015


The libvirt-daemon-config-network package for Fedora/RHEL and openSUSE
installs /etc/libvirt/qemu/network/default.xml which creates the default
network.
So having this package as dependency eliminates the Kimchi needs to create on
start up.

This package is not required for Ubuntu, as it is already included in the
libvirt-bin package.

Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
 contrib/kimchi.spec.fedora.in | 1 +
 contrib/kimchi.spec.suse.in   | 1 +
 docs/README.md                | 6 +++---
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/contrib/kimchi.spec.fedora.in b/contrib/kimchi.spec.fedora.in
index 874ab96..9c7e2fd 100644
--- a/contrib/kimchi.spec.fedora.in
+++ b/contrib/kimchi.spec.fedora.in
@@ -11,6 +11,7 @@ Requires:	qemu-kvm
 Requires:	gettext-devel
 Requires:	libvirt
 Requires:	libvirt-python
+Requires:	libvirt-daemon-config-network
 Requires:	python-cherrypy >= 3.2.0
 Requires:	python-cheetah
 Requires:	python-websockify
diff --git a/contrib/kimchi.spec.suse.in b/contrib/kimchi.spec.suse.in
index 9734852..bd25097 100644
--- a/contrib/kimchi.spec.suse.in
+++ b/contrib/kimchi.spec.suse.in
@@ -11,6 +11,7 @@ Requires:	kvm
 Requires:	gettext-tools
 Requires:	libvirt
 Requires:	libvirt-python
+Requires:	libvirt-daemon-config-network
 Requires:	python-CherryPy >= 3.2.0
 Requires:	python-Cheetah
 Requires:	python-websockify
diff --git a/docs/README.md b/docs/README.md
index 3f02529..034a591 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -49,7 +49,7 @@ Install Dependencies
 
      $ sudo yum install gcc make autoconf automake gettext-devel git \
                         python-cherrypy python-cheetah libvirt-python \
-                        libvirt python-imaging \
+                        libvirt libvirt-daemon-config-network python-imaging \
                         PyPAM m2crypto python-jsonschema rpm-build \
                         qemu-kvm python-psutil python-ethtool sos \
                         python-ipaddr python-ldap python-lxml nfs-utils \
@@ -100,8 +100,8 @@ channel at RHN Classic or Red Hat Satellite.
 
     $ sudo zypper install gcc make autoconf automake gettext-tools git \
                           python-CherryPy python-Cheetah libvirt-python \
-                          libvirt python-imaging \
-                          python-pam python-M2Crypto python-jsonschema \
+                          libvirt libvirt-daemon-config-network python-pam \
+                          python-imaging python-M2Crypto python-jsonschema \
                           rpm-build kvm python-psutil python-ethtool \
                           python-ipaddr python-ldap python-lxml nfs-client \
                           open-iscsi libxslt-tools python-xml python-parted \
-- 
2.1.0




More information about the Kimchi-devel mailing list