Skip to content
Snippets Groups Projects
Commit 97543716 authored by Anael Beutot's avatar Anael Beutot
Browse files

Fix debian packaging

parent 305162c9
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
set -e
case "$1" in
configure)
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument `$1`" > &2
exit 1
;;
esac
#DEBHELPER#
exit 0
......@@ -20,7 +20,16 @@ if [ -f "$CONF" ]; then
fi
fi
#DEBHELPER#
# hardcode debhelpers to start the daemon after pycentral
# Automatically added by dh_pycentral
rm -f /var/lib/pycentral/cc-node.pkgremove
if which pycentral >/dev/null 2>&1; then
pycentral pkginstall cc-node
if grep -qs '^cc-node$' /var/lib/pycentral/delayed-pkgs; then
sed -i '/^cc-node$/d' /var/lib/pycentral/delayed-pkgs
fi
fi
# End automatically added section
# Workaround to restart node after pycentral
if [ -x "/etc/init.d/cc-node" ]; then
......
Source: cc-node
Section: python
Priority: optional
Maintainer: Anaël Beutot <anael.beutot@smartjog.com>
Maintainer: Anael Beutot <anael.beutot@smartjog.com>
Build-Depends: debhelper (>= 7), python-central (>= 0.6), cdbs (>= 0.4.50), python-setuptools, python
XS-Python-Version: >= 2.6
Standards-Version: 3.9.1
......@@ -15,5 +15,6 @@ Description: CloudControl node
Package: cc-node-hypervisor
Architecture: all
Depends: cc-node (= ${binary:Version}), python-libvirt, drbd8-utils
Depends: ${misc:Depends}, cc-node (= ${binary:Version}), python-libvirt, drbd8-utils
Description: CC-node meta package for use with KVM hypervisor.
This package provides node of CloudControl with hypervisor capabilities.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment