Scott Moser 833740407e setup.py: rename "daemon type" to "init system"
This brings with it other changes, and also makes an install
install all of the requisite init files. (ie, cloud-init needs the -local and
the non-local)
2012-07-06 17:03:11 -04:00

18 lines
442 B
Makefile
Executable File

#!/usr/bin/make -f
DEB_PYTHON2_MODULE_PACKAGES = cloud-init
binary-install/cloud-init::cloud-init-fixups
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
DEB_PYTHON_INSTALL_ARGS_ALL += --init-system={{init_sys}}
DEB_DH_INSTALL_SOURCEDIR := debian/tmp
cloud-init-fixups:
install -d $(DEB_DESTDIR)/etc/rsyslog.d
cp tools/21-cloudinit.conf $(DEB_DESTDIR)/etc/rsyslog.d/21-cloudinit.conf