summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-07-30 00:33:13 +0700
committerGitHub <noreply@github.com>2018-07-30 00:33:13 +0700
commit08016dc01b83dd3a3a1be3350a8e5669fee9db14 (patch)
tree9367200cde712f8b2167ca1f3c4c91426474cc63 /debian/rules
parent0fdfe533cd2bad844b1c0cd98c62a7e1866c481c (diff)
parent1c0b7ede177e97c4b4e6ad5e9e13bec56f233bb5 (diff)
downloadvyos-1x-08016dc01b83dd3a3a1be3350a8e5669fee9db14.tar.gz
vyos-1x-08016dc01b83dd3a3a1be3350a8e5669fee9db14.zip
Merge branch 'current' into current
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index d284471ec..15dfec551 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@ VYOS_CFG_TMPL_DIR := /opt/vyatta/share/vyatta-cfg/templates
VYOS_OP_TMPL_DIR := /opt/vyatta/share/vyatta-op/templates
MIGRATION_SCRIPTS_DIR := /opt/vyatta/etc/config-migrate/migrate/
+SYSTEM_SCRIPTS_DIR := usr/libexec/vyos/system
%:
dh $@ --with python3, --with quilt
@@ -48,6 +49,10 @@ override_dh_auto_install:
mkdir -p $(DIR)/$(MIGRATION_SCRIPTS_DIR)
cp -r src/migration-scripts/* $(DIR)/$(MIGRATION_SCRIPTS_DIR)
+ # Install system scripts
+ mkdir -p $(DIR)/$(SYSTEM_SCRIPTS_DIR)
+ cp -r src/system/* $(DIR)/$(SYSTEM_SCRIPTS_DIR)
+
# Install configuration command definitions
mkdir -p $(DIR)/$(VYOS_CFG_TMPL_DIR)
cp -r templates-cfg/* $(DIR)/$(VYOS_CFG_TMPL_DIR)