Seems like a shame not to add this feature for everyone to use...
Yishai Jaffe
On Thu, Nov 17, 2022, 2:34 PM Alexander Kanavin
wrote:
> Making your own! You can have it added to the layer index for better
> publicity.
>
> Alex
>
> On Thu, 17 Nov 2022 at 13:27, Yishai Jaffe wrote:
> >
> >
Making your own! You can have it added to the layer index for better publicity.
Alex
On Thu, 17 Nov 2022 at 13:27, Yishai Jaffe wrote:
>
> What layer would you suggest?
>
> Yishai Jaffe
>
> On Thu, Nov 17, 2022, 2:21 PM Alexander Kanavin
> wrote:
>>
>> You can start by placing it in a
What layer would you suggest?
Yishai Jaffe
On Thu, Nov 17, 2022, 2:21 PM Alexander Kanavin
wrote:
> You can start by placing it in a separate layer?
>
> Alex
>
> On Thu, 17 Nov 2022 at 13:04, Yishai Jaffe wrote:
> >
> > I assume by core you mean openembedded-core/poky, yes?
> >
> > So where
You can start by placing it in a separate layer?
Alex
On Thu, 17 Nov 2022 at 13:04, Yishai Jaffe wrote:
>
> I assume by core you mean openembedded-core/poky, yes?
>
> So where would you add it to?
>
> Seems to me like a very useful feature that many people would use if they
> knew the option
I assume by core you mean openembedded-core/poky, yes?
So where would you add it to?
Seems to me like a very useful feature that many people would use if they
knew the option exists.
Also, I noticed that in the recipe for python there is a variable named
INCLUDE_PYC which does exactly what you
I just wonder if this should really be in core. The standards for core
are high: it needs to be both testable and tested, and there's only so
many possible options and tweaks where things can regress that we can
take. On the other hand, there has not been much demand for it.
Alex
On Thu, 17 Nov
Hi Alexander,
After some research, these are the numbers I came up with for compiling
core-image-minimal with python3-core:
Normal compilation:
tar.bz2 - 6.6MB
squashfs-xz - 6.1MB
With my pyc-only patch:
tar.bz2 - 5.8MB
squashfs-xz - 5.2MB
So that's about a 15% decrease in size.
Again, this is
Hello Alex,
Il giorno dom 13 nov 2022 alle ore 16:12 Alexander Kanavin <
alex.kana...@gmail.com> ha scritto:
> Generally we slim down python installations by not installing all of
> the standard library, and rather having precise dependencies for
> specific modules. Can you illustrate the kind
Generally we slim down python installations by not installing all of
the standard library, and rather having precise dependencies for
specific modules. Can you illustrate the kind of space savings that
can be gained in actual numbers?
Another issue is that this should be supported upstream and in
Hello,
Just as a small reference since I raised some doubts and questions in
Buildroot community on this: there has been also some troubles to
understand the correctness or not there (as I found some packages with
problems due to this source-less management) and this then sparked, besides
Hi,
So after a little bit of research, I've implemented this feature in poky.
The way buildroot works, is that it doesn't create any .pyc files during
the build process of single packages but has a post rootfs hook that (If
that's what the user has configured) compiles the .py files into .pyc
On 23 Jun 2022, at 23:40, Aurum Nitrogen via lists.yoctoproject.org
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
I don't remember any such discussion. If you want this to happen, you
are welcome to develop the feature.
Alex
On Thu, 23 Jun 2022 at 16:39, Aurum Nitrogen wrote:
>
> Hi,
> I was wondering if there has been talk about support for source-less python
> on an image. Installing py and pyc files
13 matches
Mail list logo