summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-devtools
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2018-09-04 11:08:18 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-09-07 11:24:02 -0400
commite702d7dc83367688718efabb0654582380ecd939 (patch)
tree5905df3e82ec32796a837bdcbdc052f804eb5f75 /meta-phosphor/recipes-devtools
parentacdd46d07a7d090e745aaa772ae206b64806ba56 (diff)
downloadtalos-openbmc-e702d7dc83367688718efabb0654582380ecd939.tar.gz
talos-openbmc-e702d7dc83367688718efabb0654582380ecd939.zip
phosphor-tiny: Remove python-gevent.bb .py files
Only the .pyc files are needed from the gevent recipe. This saves us ~130KB of rofs space. Reference openbmc/openbmc#3372 (From meta-phosphor rev: 9aa5a5623a08708cce8fa898164e9adae5c9b193) Change-Id: I3454bbd93e52be340374feeb15f36ea7f8c0b43c Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-devtools')
-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