diff options
author | John Estabrook <jestabro@vyos.io> | 2024-06-05 19:57:18 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2024-06-05 19:57:18 -0500 |
commit | d34edc5c15f939f87648b0f8588f99474c53b459 (patch) | |
tree | 4aa1bcced8024d5949dd9dc2fab1e94134302131 /debian/rules | |
parent | 4f18517c9b0a912582933ddbc5424759c676c290 (diff) | |
download | vyos-1x-d34edc5c15f939f87648b0f8588f99474c53b459.tar.gz vyos-1x-d34edc5c15f939f87648b0f8588f99474c53b459.zip |
migration: T6006: add activation script dir and helper function
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index d007089a4..9da40465f 100755 --- a/debian/rules +++ b/debian/rules @@ -11,6 +11,7 @@ VYOS_MIBS_DIR := usr/share/snmp/mibs VYOS_LOCALUI_DIR := srv/localui MIGRATION_SCRIPTS_DIR := opt/vyatta/etc/config-migrate/migrate +ACTIVATION_SCRIPTS_DIR := usr/libexec/vyos/activate SYSTEM_SCRIPTS_DIR := usr/libexec/vyos/system SERVICES_DIR := usr/libexec/vyos/services @@ -67,6 +68,10 @@ override_dh_auto_install: mkdir -p $(DIR)/$(MIGRATION_SCRIPTS_DIR) cp -r src/migration-scripts/* $(DIR)/$(MIGRATION_SCRIPTS_DIR) + # Install activation scripts + mkdir -p $(DIR)/$(ACTIVATION_SCRIPTS_DIR) + cp -r src/activation-scripts/* $(DIR)/$(ACTIVATION_SCRIPTS_DIR) + # Install system scripts mkdir -p $(DIR)/$(SYSTEM_SCRIPTS_DIR) cp -r src/system/* $(DIR)/$(SYSTEM_SCRIPTS_DIR) |