From 6eb058a93272004d8ae10eaf30a71a9477a38978 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Tue, 14 Apr 2020 11:20:20 -0500 Subject: 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 --- meta-phosphor/recipes-devtools/python/python_2.%.bbappend | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 meta-phosphor/recipes-devtools/python/python_2.%.bbappend (limited to 'meta-phosphor/recipes-devtools') 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 0db91f179..000000000 --- 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 {} \; -} -- cgit v1.2.3