summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-devtools/python
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2023-05-02 17:23:41 +0300
committerAndrew Geissler <geissonator@yahoo.com>2023-05-02 17:25:44 +0300
commit6d12da5d6762e0cc0d543f1d41d367d762c23bad (patch)
treec3d4d5f05a88ad433623ee492825c88624c5a070 /meta-phosphor/recipes-devtools/python
parent7c656216ab3d19e6090bf60ac259dfc99ec85657 (diff)
downloadopenbmc-6d12da5d6762e0cc0d543f1d41d367d762c23bad.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>
Diffstat (limited to 'meta-phosphor/recipes-devtools/python')
-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"