From: Gustavo Zacarias Date: Mon, 6 May 2013 01:55:42 +0000 (+0000) Subject: python: remove smtpd.py X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d2fbe9d75308571da3afc2a5d1f3586c0ca3bec;p=buildroot.git python: remove smtpd.py It's mostly sample code, normally not used, and has a bad shebang line. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/package/python/python.mk b/package/python/python.mk index 4876dd8b5b..b942854994 100644 --- a/package/python/python.mk +++ b/package/python/python.mk @@ -142,6 +142,13 @@ endef PYTHON_POST_INSTALL_STAGING_HOOKS += PYTHON_FIXUP_LIBDIR +# Bad shebang, normally not used +define PYTHON_REMOVE_SMTPD + rm -f $(TARGET_DIR)/usr/bin/smtpd.py +endef + +PYTHON_POST_INSTALL_TARGET_HOOKS += PYTHON_REMOVE_SMTPD + # # Development files removal #