summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-22 22:35:21 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-22 22:35:21 +0200
commitaa1a2ea7d03843120da50bf98584927098bcfa6d (patch)
treef4c06386efd6d97c5d6497938d9dca12a1a88386 /debian
parenta8ae4f46a5d0e059f2ca1181c7730b81179160f8 (diff)
parent46f4aa47cc62ca05bef4e4cca614ed77065608e7 (diff)
downloadvyos-1x-aa1a2ea7d03843120da50bf98584927098bcfa6d.tar.gz
vyos-1x-aa1a2ea7d03843120da50bf98584927098bcfa6d.zip
Merge branch 'default-dict' of github.com:c-po/vyos-1x into current
* 'default-dict' of github.com:c-po/vyos-1x: console-server: T2588: migrate to defaults from XML interface definitions xml: T2588: add gitignore for generated defaults xml: T2588: code to extract defaults values from xml Debian: remove duplicate build dependency xml: ssh: fix typo in service description
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules4
2 files changed, 5 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index aaaf33e2a..5e14340a8 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 9),
quilt,
python3,
python3-setuptools,
- quilt,
+ python3-xmltodict,
python3-lxml,
python3-nose,
python3-coverage,
diff --git a/debian/rules b/debian/rules
index 3e408b538..c080b8633 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,10 @@ override_dh_auto_build:
override_dh_auto_install:
dh_auto_install
+
+ # convert the XML to dictionaries
+ env PYTHONPATH=python python3 python/vyos/xml/generate.py
+
cd python; python3 setup.py install --install-layout=deb --root ../$(DIR); cd ..
# Install scripts