[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947123: solved by setting --apt-indices false



Hi,


This is caused by steps in the binary stage (*after* the chroot_hooks
stage) that install some packages in the chroot.

The solution is to pass the option "--apt-indices false" to "lb config",
this will effectively clear the /var/lib/apt/lists directory in the
final image (tested with live-build version 1:20191221).
For our builds, passing this option reduced the final squashfs image by
about 40MB.

I believe this bug can be closed.


Best regards,
Dieter


Schedule your online meeting<https://tinyurl.com/yym76roh> to discuss your challenges with us!

[Logo]<https://tinyurl.com/yym76roh>    Dieter Dobbelaere
Senior Engineer R&D

T: +32 9 269 22 91
E: dieter.dobbelaere@excentis.com

Excentis n.v.
Gildestraat 8
B-9000 Ghent, Belgium


Reply to: