summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-devtools/python/python3_%.bbappend
AgeCommit message (Collapse)AuthorFilesLines
2023-05-02python3: remove pip install flash space saving workaroundAndrew Geissler1-8/+0
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>
2022-09-20Run oe-stylize on our filesEd Tanous1-4/+5
In all of our recipes, we should be following yoctos lead on formatting, order, and other things, for consistency in our meta layers. This commit runs oe-stylize.py on all of our files. The types of changes being made can be seen in the commit, but amount to: 1. Setting an explicit key ordering 2. Sectioning the files appropriately 3. Applying rules checking to our files At some point in the near future, we would turn this on as part of repotest, but some minor changes need to be upstreamed to meta-oe (WIP) to make that happen. Looking for input on whether this is something we'd like to do, and whether the diffs below look reasonable to folks. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I489dd21d38a9fe4f3ece89cc7a5e1d0463224abf
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>