
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)
18 lines
442 B
Makefile
Executable File
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
|
|
|