[yocto] Building single package as image, respecting dependencies

Norman Stetter Norman.Stetter at garz-fricke.com
Thu May 23 05:45:38 PDT 2019


Hi Ross,

thanks for clarifying that there are no dependencies between images.


Von: Burton, Ross [mailto:ross.burton at intel.com]
Gesendet: Thursday, May 23, 2019 2:15 PM
An: Norman Stetter <Norman.Stetter at garz-fricke.com>
Cc: yocto at yoctoproject.org
Betreff: Re: [yocto] Building single package as image, respecting dependencies

On Wed, 22 May 2019 at 14:28, Norman Stetter <Norman.Stetter at garz-fricke.com<mailto:Norman.Stetter at garz-fricke.com>> wrote:
Is there a way to have dependencies between images? So I could have the python-image build know which dependencies are already built into my OS image and therefore not include them itself?

No.  An image is a self-contained file system.  About 50% of your image recipe isn't helping your goal of an image that contains a single package.

What should be improved to achieve my goal of containing only the python3 package and as little dependencies as possible?

I have to query your assumptions though: if you're going to have python3 in a filessytem that you mount when required, how are you saving space?


That seems to be a misunderstanding. I want to keep the OS image as small as possible to reduce boot time. We only use python for some test scenarios, so it doesn’t have to be included in the OS image. I did some measurements and including python3 in the OS image increased the boot time by over 30%. So the idea is to have it separately, and only mount it, when needed.


Mit freundlichen Grüßen / Best regards
Norman Stetter
SW ENWICKLUNG EMBEDDED SYSTEMS
Garz & Fricke GmbH

21079 Hamburg
Direct: +49 40 791899 - 477
Fax: +49 40 791899 - 39
Norman.Stetter at garz-fricke.com
www.garz-fricke.com<http://www.garz-fricke.com/>
WE MAKE IT YOURS!
[cid:image001.jpg at 01D51176.36275C60]
Sitz der Gesellschaft: D-21079 Hamburg
Registergericht: Amtsgericht Hamburg, HRB 60514
Geschäftsführer: Matthias Fricke, Manfred Garz, Marc-Michael Braun


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190523/46818ae2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 14804 bytes
Desc: image001.jpg
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190523/46818ae2/attachment-0001.jpg>


More information about the yocto mailing list