summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2025-07-30 13:57:36 +0100
committerDaniil Baturin <daniil@baturin.org>2025-07-30 13:57:36 +0100
commit16fd758b4368b427497664e03f53c9c50a640e00 (patch)
tree6ce5f61046e852e133e5cf558084443f671d2f3a
parent7b2bc979e07f0d554056be38990dd7a2b564d420 (diff)
downloadvyos-1x-16fd758b4368b427497664e03f53c9c50a640e00.tar.gz
vyos-1x-16fd758b4368b427497664e03f53c9c50a640e00.zip
debian: T7669: install the op mode JSON cache in /usr/share/vyos/
to make it easy to access
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 244f46518..333505ef0 100644
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,7 @@ op_mode_definitions: $(op_xml_obj)
find $(BUILD_DIR)/op-mode-definitions/ -type f -name "*.xml" | xargs -I {} $(CURDIR)/scripts/build-command-op-templates {} $(CURDIR)/schema/op-mode-definition.rng $(OP_TMPL_DIR) || exit 1
- $(CURDIR)/python/vyos/xml_ref/generate_op_cache.py --check-path-ambiguity --xml-dir $(BUILD_DIR)/op-mode-definitions || exit 1
+ $(CURDIR)/python/vyos/xml_ref/generate_op_cache.py --xml-dir $(BUILD_DIR)/op-mode-definitions --export-json $(DATA_DIR)/op_cache.json || exit 1
# XXX: tcpdump, ping, traceroute and mtr must be able to recursivly call themselves as the
# options are provided from the scripts themselves