diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2020-04-14 19:20:20 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-04-23 21:36:12 +0300 |
commit | 6eb058a93272004d8ae10eaf30a71a9477a38978 (patch) | |
tree | 3041e89cd2c52e3a33f5c2b3dac0d87f4002a1a4 | |
parent | 3c53945e3ed8d3125c5e8b9ef7d9f1d4f5abb29c (diff) | |
download | openbmc-6eb058a93272004d8ae10eaf30a71a9477a38978.tar.xz |
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>
-rw-r--r-- | meta-phosphor/recipes-devtools/python/python_2.%.bbappend | 11 |
1 files changed, 0 insertions, 11 deletions
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 0db91f1795..0000000000 --- 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 {} \; -} |