dunfell: remove python2 .py file workaround
python2 is gone in dunfell release so need to remove any appends to that
recipe. A later commit in this series will apply this space reducer to a
python3 version of the bbappend.
(From meta-phosphor rev: afaf32d69470243c7a1367700f0427432789251e)
Change-Id: I242d11902250ed8948f244afae45a78787b5299e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-phosphor/recipes-devtools/python/python_2.%.bbappend b/meta-phosphor/recipes-devtools/python/python_2.%.bbappend
deleted file mode 100644
index 0db91f1..0000000
--- a/meta-phosphor/recipes-devtools/python/python_2.%.bbappend
+++ /dev/null
@@ -1,11 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-# Remove all python .py files from python recipe. Only the .pyc
-# files are required. Only do this if the openbmc-phosphor-tiny
-# distro feature is enabled
-do_install_append_openbmc-phosphor-tiny() {
- # The _sysconfigdata.py is a system configuration file generated
- # during build time. It's used in the yocto packaging process so
- # it is required to remain in the image.
- find ${D}${libdir}/python${PYTHON_MAJMIN} -name \*.py ! -name _sysconfigdata.py -exec rm {} \;
-}