summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-07-29 15:04:39 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-07-29 15:04:39 -0500
commitd59c9c35c03799000e91b4c1e12e9e8c02256aeb (patch)
tree98965784eb3eeff9c902ff5fe8d97dd1243b82f4 /debian/rules
parent399edb32eb68ce5fa3189ff83f09b307c6e9222d (diff)
downloadvyos-1x-d59c9c35c03799000e91b4c1e12e9e8c02256aeb.tar.gz
vyos-1x-d59c9c35c03799000e91b4c1e12e9e8c02256aeb.zip
xml: T5403: fix installation of xml cache
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 9ada2bf87..39185f1e6 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
VYOS_MIBS_DIR := usr/share/snmp/mibs
VYOS_LOCALUI_DIR := srv/localui
+VYOS_XML_CACHE_DIR := python/vyos/xml_ref/pkg_cache
MIGRATION_SCRIPTS_DIR := opt/vyatta/etc/config-migrate/migrate
SYSTEM_SCRIPTS_DIR := usr/libexec/vyos/system
@@ -35,6 +36,8 @@ override_dh_auto_install:
# convert the XML to dictionaries
env PYTHONPATH=python python3 python/vyos/xml/generate.py
+ cp xml_cache/vyos_1x_cache.py python/vyos/xml_ref/pkg_cache
+
cd python; python3 setup.py install --install-layout=deb --root ../$(DIR); cd ..
# Install scripts