summaryrefslogtreecommitdiff
path: root/packages/debian/rules
blob: 6814974fdacd53f86e8d40f7c2f7150b86409682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 += --daemon-type={{daemon_type}}

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