Control: tags 1087470 +moreinfo

Hello Aaron,

On 14/11/2024 02:35, Aaron Rainbolt wrote:
I'm using live-build to build ISO images of Kicksecure, a Debian derivative.
Currently, we use apt-cacher-ng to cache package downloads for speed's sake.
We also install special apt sources.list files on the ISO *after* the chroot
stage, since the package transport methods we use at build time are different
than the ones we want our users to use at run time. (In particular, we use
HTTP(S) to connect to repos at build time, but want our users to use Tor to
connect to the repos later.) In order to ensure apt-cacher-ng is used
properly, we have the HTTPS tunneling feature disabled, and use
http://HTTPS///example.com URIs in our sources.list files instead.

Unfortunately, this particular combination of features has hit a problematic
conflict with part of live-build's behavior. In order to install our specific
sources.list files onto the ISO without using them to do the actual ISO build,
we have to install them before live-build's binary stage. However, this only
works if live-build's binary stage doesn't run any apt commands. As it turns
out, it does run apt commands, in this section of code:

Before delving deeper into the code, could you post a minimal configuration that shows the behaviour? Perhaps there are other ways to achieve the same goal.

With kind regards,
Roland Clobus

(I'm reporting from an Ubuntu system, so Ubuntu system info is shown below.)

PS: If you use 'reportbug', you can select 'Choose mailer to edit the report' and then you can cut away the non-relevant system info.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to