summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-devtools/python/python-gevent_1.2.2.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/recipes-devtools/python/python-gevent_1.2.2.bbappend')
-rw-r--r--meta-phosphor/recipes-devtools/python/python-gevent_1.2.2.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-devtools/python/python-gevent_1.2.2.bbappend b/meta-phosphor/recipes-devtools/python/python-gevent_1.2.2.bbappend
new file mode 100644
index 000000000..924d10800
--- /dev/null
+++ b/meta-phosphor/recipes-devtools/python/python-gevent_1.2.2.bbappend
@@ -0,0 +1,6 @@
+# Remove all python .py files from gevent recipe. Only the .pyc
+# files are required. Only do if openbmc-phosphor-tiny distro
+# feature is enabled.
+do_install_append_openbmc-phosphor-tiny() {
+ find ${D}/${PYTHON_SITEPACKAGES_DIR}/gevent/ -name \*.py -exec rm {} \;
+}
OpenPOWER on IntegriCloud