summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2023-05-02 17:23:41 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-05-02 23:13:23 +0300
commit59d1e4b3d5bdba3f4432efe41e3665e154da6804 (patch)
tree292b6d619bbadafc413fd3150eb9bfa9e5a710d9
parentfdfc54a7fc9bebc22d8e2c7a49da4442ed02d09e (diff)
downloadopenbmc-59d1e4b3d5bdba3f4432efe41e3665e154da6804.tar.xz
python3: remove pip install flash space saving workaround
Latest upstream yocto requires this package be installed now so we can no longer run this workaround to save some flash space Change-Id: I972cc7080acc1b5704f55c9f64d63abab081a539 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> (cherry picked from commit 6d12da5d6762e0cc0d543f1d41d367d762c23bad)
-rw-r--r--meta-phosphor/recipes-devtools/python/python3_%.bbappend8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta-phosphor/recipes-devtools/python/python3_%.bbappend b/meta-phosphor/recipes-devtools/python/python3_%.bbappend
index c3de5a05f2..99af73ddf0 100644
--- a/meta-phosphor/recipes-devtools/python/python3_%.bbappend
+++ b/meta-phosphor/recipes-devtools/python/python3_%.bbappend
@@ -1,13 +1,5 @@
inherit update-alternatives
-# python3 takes up a lot of space that most embedded systems
-# do not have, so remove some un-needed files from the rootfs
-do_install:append:class-target() {
- # Even though python3 is built with --without-ensurepip, it still installs
- # a large, compressed version of pip. Remove it to free up the space.
- rm -rf ${D}${libdir}/python${PYTHON_MAJMIN}/ensurepip
-}
-
ALTERNATIVE_LINK_NAME[python] = "${bindir}/python"
ALTERNATIVE:${PN}-core += "python"