mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-26 20:42:11 +00:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
91f2043305
commit
9fda08fd81
@@ -36,7 +36,11 @@ define PYTHON_WEB2PY_GENERATE_PASSWORD
|
||||
save_password($(BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD),8000)'
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN),y)
|
||||
PYTHON_WEB2PY_POST_BUILD_HOOKS += PYTHON_WEB2PY_GENERATE_PASSWORD
|
||||
else
|
||||
PYTHON_WEB2PY_EXCLUSIONS += applications/admin
|
||||
endif
|
||||
|
||||
define PYTHON_WEB2PY_INSTALL_TARGET_CMDS
|
||||
mkdir -p $(TARGET_DIR)/var/www/web2py
|
||||
|
||||
Reference in New Issue
Block a user