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 | |
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')
-rwxr-xr-x | debian/rules | 5 | ||||
-rw-r--r-- | debian/vyos-1x.install | 1 |
2 files changed, 6 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) diff --git a/debian/vyos-1x.install b/debian/vyos-1x.install index 9e43669be..b3978d38a 100644 --- a/debian/vyos-1x.install +++ b/debian/vyos-1x.install @@ -28,6 +28,7 @@ usr/bin/vyos-config-to-commands usr/bin/vyos-config-to-json usr/bin/vyos-hostsd-client usr/lib +usr/libexec/vyos/activate usr/libexec/vyos/completion usr/libexec/vyos/conf_mode usr/libexec/vyos/init |