On 23 Jun 2022, at 23:40, Aurum Nitrogen via lists.yoctoproject.org <[email protected]> wrote: > > Hi, > I was wondering if there has been talk about support for source-less python > on an image. Installing py and pyc files doubles the size of python on the > rootfs. I can imagine this being implemented as an image feature. > I know that in buildroot it is supported. > Was this discussed and decided against? Is this an open issue?
There’s an open issue: https://bugzilla.yoctoproject.org/show_bug.cgi?id=6434 The easiest implementation would be a rootfs-time postprocessing step where you compile every .py file, and then delete the .py. Is this what buildroot does? This does break feeds, but the alternative (of changing how packaging is done) would be a lot more invasive. Ross IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#57386): https://lists.yoctoproject.org/g/yocto/message/57386 Mute This Topic: https://lists.yoctoproject.org/mt/91944424/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
