:: Re: [DNG] Caching binary .deb packa…
Góra strony
Delete this message
Reply to this message
Autor: Lars Noodén
Data:  
Dla: dng
Temat: Re: [DNG] Caching binary .deb packages
On 06/06/2016 02:28 PM, parazyd wrote:
> On Mon, 06 Jun 2016, Lars Noodén wrote:
>
>> I've been messing around with building a live image and notice that it
>> looks like there are a lot of different mirrors getting called into
>> play. I was expecting the same mirrors to be used each time so I could
>> populate my local cache on the first try and then use that cache on
>> subsequent builds. Is there any efficient way to cache everything I
>> access on the first try? I'm using squid3 right now but should I be
>> using apt-cacher or apt-cacher-ng instead?
>>
>
> If you're consistently making the same image each time, why not create
> just a ready tarball you can extract each time you make an image? That
> way you save your time and put less load on package mirrors.


Yes, I'd like to save both. I'm (mis-)using the package live-build for
that. Many years ago, I used to build by hand but I hoped that the
live-build scripts would save time. So far they're not as the problems
are encountered at the end of the process.

I'd like to be able to make changes to the menus in the isolinux
directory, but any changes I make cause the Live items in the isolinux
menu to become inert. So I have all the packages in the chroot, it is
(I think) just left to build the ISO-9660 image. If that is correct,
how is that done in live-build so as to skip the first parts of the
build process?

Regards,
Lars