summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-devtools/python/python3_%.bbappend
AgeCommit message (Collapse)AuthorFilesLines
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams1-2/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2020-06-05python3: Restore .py source filesHarisuddin Mohamed Isa1-7/+0
Due to PEP 3147, an earlier commit which removes .py files on rootfs broke python since .pyc files have been moved to a new directory called __pycache__ and hence no modules can be imported. This reverts those changes. (From meta-phosphor rev: 63f021136249f4f30251de79e910e54dc191a5ea) Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com> Change-Id: If94ddcd0146c4312c6352db8ff1309d19f2efa96 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-23dunfell: remove .py files from rootfsAndrew Geissler1-2/+11
Only the .pyc files are needed so save some space in the image by removing the .py files. With the move to python3, machines that bring python into their image no longer build due to the squashfs being too large. This fixes that issue. A similar function as this used to be under the tiny-distro feature but it just needs to be mandatory now until someone feels like they need the .py files in the image. (From meta-phosphor rev: f846a8387abdb409c3d1b6bb66746d5d7b859bd3) Change-Id: I8a4de733e30e38ee90f9aa8eb2d7cb10204fcad2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-23dunfell: ensurepip not needed in rootfsAndrew Geissler1-0/+6
This was pulled down from the facebook/openbmc repo: https://github.com/facebook/openbmc/blob/19cd2a3e9638e7a2652518c022e422c7de4c7259/common/recipes-devtools/python/python3_%25.bbappend (From meta-phosphor rev: d23fed577d26eb704e427a4f65f13866cb391de1) Change-Id: I5cb44b0e3b634bf0d605e84e3d32a15e84615354 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-23dunfell: ensure python3 is defaultAndrew Geissler1-0/+5
This was pulled down from the facebook/openbmc repo: https://github.com/facebook/openbmc/blob/19cd2a3e9638e7a2652518c022e422c7de4c7259/common/recipes-devtools/python/python3_%25.bbappend (From meta-phosphor rev: e84b046a582307700a6a193270d2b61a81b57f76) Change-Id: I94766094f0744da58b2ce02ae51526eaf3e73f78 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>