summaryrefslogtreecommitdiffstats
path: root/package/python-web2py/Config.in
diff options
context:
space:
mode:
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>2017-06-28 10:15:14 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-31 22:56:24 +0200
commit9fda08fd818c3f38a9ee3c561af0026e26017237 (patch)
treecd124737db544814b7ffa4fd85175ec7d98fed83 /package/python-web2py/Config.in
parent91f20433053cc4558256344ed4cebb8d147a3ee2 (diff)
downloadbuildroot-9fda08fd818c3f38a9ee3c561af0026e26017237.tar.gz
buildroot-9fda08fd818c3f38a9ee3c561af0026e26017237.zip
package/python-web2py: remove admin panel
This commmit adds an option to remove admin panel to save speace if not needed. Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> [Thomas: fix indentation.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-web2py/Config.in')
-rw-r--r--package/python-web2py/Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/python-web2py/Config.in b/package/python-web2py/Config.in
index b10d3a48a5..3b55153236 100644
--- a/package/python-web2py/Config.in
+++ b/package/python-web2py/Config.in
@@ -14,6 +14,15 @@ config BR2_PACKAGE_PYTHON_WEB2PY
if BR2_PACKAGE_PYTHON_WEB2PY
+config BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN
+ bool "install admin panel application"
+ default y
+ help
+ This option install web2py admin panel application.
+ It can be removed to save space on embedded systems.
+
+if BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN
+
config BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD
string "admin panel password"
default web2py
@@ -21,3 +30,5 @@ config BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD
Set the admin panel password.
endif
+
+endif
OpenPOWER on IntegriCloud