From e702d7dc83367688718efabb0654582380ecd939 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Tue, 4 Sep 2018 11:08:18 -0500 Subject: 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 Signed-off-by: Brad Bishop --- meta-phosphor/recipes-devtools/python/python-gevent_1.2.2.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 meta-phosphor/recipes-devtools/python/python-gevent_1.2.2.bbappend (limited to 'meta-phosphor/recipes-devtools') 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 {} \; +} -- cgit v1.2.3