asu: Change Python 2 dependencies to Python 3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
parent
a1500cec86
commit
8bd4b03ef3
2 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ IMAGEBUILDER_DEPENDS:= \
|
|||
@x86_64 +bash +bzip2 +coreutils +coreutils-stat +diffutils +file \
|
||||
+gawk +gcc +getopt +git +git-http +libncurses +make +patch +perl \
|
||||
+perlbase-attributes +perlbase-findbin +perlbase-getopt \
|
||||
+perlbase-thread +python-light +tar +unzip +wget +xz +xzdiff \
|
||||
+perlbase-thread +python3-light +tar +unzip +wget +xz +xzdiff \
|
||||
+xzgrep +xzless +xz-utils +zlib-dev
|
||||
|
||||
define Package/asu
|
||||
|
@ -34,7 +34,7 @@ define Package/asu
|
|||
URL:=http://github.com/aparcar/gsoc17-attended-sysupgrade/
|
||||
DEPENDS:=$(IMAGEBUILDER_DEPENDS) +pgsql-server +psqlodbcw \
|
||||
+python3-ctypes +python3-distutils +python3-flask \
|
||||
+gunicorn +python3-openssl +python3-pyodbc +python3-yaml \
|
||||
+gunicorn3 +python3-openssl +python3-pyodbc +python3-yaml \
|
||||
+libustream-mbedtls +ca-certificates +gnupg
|
||||
USERID:=asu:asu
|
||||
VARIANT:=python3
|
||||
|
|
|
@ -28,7 +28,7 @@ start_service() {
|
|||
procd_open_instance asu_main
|
||||
procd_set_param user asu
|
||||
procd_set_param group asu
|
||||
procd_set_param command gunicorn asu:app
|
||||
procd_set_param command gunicorn3 asu:app
|
||||
procd_close_instance
|
||||
|
||||
procd_open_instance main_worker
|
||||
|
|
Loading…
Reference in a new issue