From 9ace1cf1b12865eed54509e54f4d1bcf19924984 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Mon, 23 Mar 2015 09:30:26 -0600 Subject: [PATCH] bootstrap: explain the system python-libvirt pkg In #sepia today, Zack explained the reasoning for the python-libvirt package on the Debian family of distros. --- bootstrap | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bootstrap b/bootstrap index 5b5a6116..1f7f56cd 100755 --- a/bootstrap +++ b/bootstrap @@ -5,6 +5,17 @@ case "$(uname -s)" in Linux) case "$(lsb_release --id --short)" in Ubuntu|Debian) + # Note that we install the system version of python-libvirt here + # instead of relying on PyPI for that particular module. THe reason for + # this is that Ubuntu Precise ships libvirt 0.9.8, and PyPI's + # python-libvirt packages require libvirt >= 1.0.2. + # Some options for resolving this situation would be choosing some or + # all of the following: + # A) Removing support for Precise, + # B) Removing support for downburst, + # C) Adding "Precise" conditionals somewhere, eg. conditionalizing + # this bootstrap script to only use the python-libvirt package on + # Ubuntu Precise. for package in python-dev python-pip python-virtualenv libevent-dev python-libvirt libmysqlclient-dev; do if [ "$(dpkg --status -- $package|sed -n 's/^Status: //p')" != "install ok installed" ]; then # add a space after old values -- 2.47.3