Re: RootFS Size increase during Migration


Khem Raj
 

On Thu, Sep 3, 2020 at 10:18 PM Aashik Aswin <thisisaash9698@...> wrote:

Hi Developers,

I am migrating my code from Yocto Thud (4.19) Kernel to Yocto Zeus (5.4) Kernel.

The recipes and conf files are essentially the same, but I am seeing a substantial increase in the RootFS Size and Subsequent final image size (Close to 40 MB).

Any idea on how we can debug this or where we can start for inspecting why the image size increase.
Enable buildhistory in both builds
https://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html#enabling-and-disabling-build-history
once you have it enabled build the images (assuming you are building
in two different workspaces ) you can diff installed-package-sizes.txt
from two builds
and it should give you some hints, if you are switching the build in
same workspace between two releases then you can do two builds and
inside buildhistory
folder run git show cmd which should show you delta between last two builds

Thanks,
Aashik

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.