Hello Rajaneesh, On 20/10/2022 06:32, finlinux na wrote:
I am a newbie in live build..When using live-build, the packages get downloaded from debian mirror site.. depending on the time of the day, there are network latency..To avoid latency and facilitate faster build I thought I had following optionsa) I could download the required package locally and put it in package folder (as 3rd party packages) in the config directoryb) create a debian mirror locally of size 150 GB.. c) Alternatively, I could split the "lb build" as sequences of lb bootstrap lb chroot lb binary lb sourceand execute then one by one...If any stage fails, then start from that stage..
> Kindly advice which is the best way to go forward.. and pointers for > each method.. Option D: Use a proxy, see my Wiki page where I described my setup: https://wiki.debian.org/ReproducibleInstalls/LiveImagesWhen I'm adjusting the configuration for my live images, I reduce the amount of downloads by taking a fixed timestamp (by setting the environment variable SOURCE_DATE_EPOCH and using a snapshot server) and use that until I'm satisfied with the content of the image. Then I'll change back to use deb.debian.org instead of the snapshot server. Also take a look at the script 'rebuild.sh' in the test folder of the git repository (https://salsa.debian.org/live-team/live-build/-/blob/master/test/rebuild.sh)
With kind regards, Roland Clobus
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature