asu: improve packaging

* use gunicorn instead of Flask for main server threads
 * generate and deploy random database password
 * provide distribution files

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2019-03-08 04:21:45 +01:00
parent 31950ff200
commit c13ae5ba28
3 changed files with 18 additions and 12 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=asu
PKG_VERSION:=0.2.3
PKG_RELEASE=1
PKG_RELEASE=2
PKG_LICENSE:=GPL-3.0
@@ -37,7 +37,7 @@ define Package/asu
URL:=http://github.com/aparcar/gsoc17-attended-sysupgrade/
DEPENDS:=$(IMAGEBUILDER_DEPENDS) +pgsql-server +psqlodbcw \
+python3-ctypes +python3-distutils +python3-flask \
+python3-openssl +python3-pyodbc +python3-yaml \
+gunicorn +python3-openssl +python3-pyodbc +python3-yaml \
+libustream-mbedtls +ca-certificates +gnupg
USERID:=asu:asu
VARIANT:=python3