[Buildroot] [git commit] python: remove smtpd.py
Peter Korsgaard
jacmet at sunsite.dk
Mon May 6 11:58:38 UTC 2013
commit: http://git.buildroot.net/buildroot/commit/?id=0d2fbe9d75308571da3afc2a5d1f3586c0ca3bec
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
It's mostly sample code, normally not used, and has a bad shebang line.
Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
package/python/python.mk | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/package/python/python.mk b/package/python/python.mk
index 4876dd8..b942854 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
#
More information about the buildroot
mailing list