diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2018-09-04 19:08:18 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-07 18:24:02 +0300 |
commit | e702d7dc83367688718efabb0654582380ecd939 (patch) | |
tree | 5905df3e82ec32796a837bdcbdc052f804eb5f75 /meta-phosphor/recipes-devtools/python | |
parent | acdd46d07a7d090e745aaa772ae206b64806ba56 (diff) | |
download | openbmc-e702d7dc83367688718efabb0654582380ecd939.tar.xz |
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/python')
-rw-r--r-- | meta-phosphor/recipes-devtools/python/python-gevent_1.2.2.bbappend | 6 |
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 {} \; +} |