summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-03 22:00:14 -0500
committerScott Moser <smoser@ubuntu.com>2016-03-03 22:00:14 -0500
commitcc92c32ea6e70de44ad0bd1e7c64f17e7fb23304 (patch)
tree696ea8d23460a023bbad6f1132ca24057d004342 /packages
parent29fc924565a730c51eb56a6f953453857d0183ca (diff)
downloadvyos-cloud-init-cc92c32ea6e70de44ad0bd1e7c64f17e7fb23304.tar.gz
vyos-cloud-init-cc92c32ea6e70de44ad0bd1e7c64f17e7fb23304.zip
support nocheck in building.
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/debian/rules.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/debian/rules.in b/packages/debian/rules.in
index 66e80946..16f9b817 100755
--- a/packages/debian/rules.in
+++ b/packages/debian/rules.in
@@ -12,8 +12,13 @@ override_dh_install:
install -d debian/cloud-init/etc/rsyslog.d
cp tools/21-cloudinit.conf debian/cloud-init/etc/rsyslog.d/21-cloudinit.conf
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
- http_proxy= make check
+ http_proxy= make check
+endif
+
+override_dh_systemd_enable:
+ dh_systemd_enable --no-enable
override_dh_systemd_start:
dh_systemd_start --no-restart-on-upgrade --no-start