Pascal Hambourg <pasc…@plouf.fr.eu.org> (2026-11-24):
> On 23/11/2026 at 13:00, Cyril Brulebois wrote:
> >
> > Please find attached two patches:
> > - debian-installer.patch generates a list of certificate filenames out
> > of the udeb's .list file; focusing on *.crt is sufficient as that's
> > what getting copied to /target (no need to deal with symlinks,
> > c_rehash, etc. as far as I can tell).
> > - base-installer.patch consumes that list if it exists, logs deletions
> > and executes update-ca-certificates if there are any deletions.
>
> Maybe a dumb question, but why delete certificates after copying them
> rather than not copying them in the first place ?
As usual, especially when it's about something (1) temporary and (2)
meant for stable, simplicity and low risk are at the top of my list.
Of course, I could implement “copy these but not those” but that means
higher chances of getting something wrong, also not being able to test
everything still works fine when certificates are added (I don't have
such a setup at the moment, and I'm happy not to work on adding one),
also breaking the context for your merge request, just to avoid copying
then deleting < 1 MB worth of certificate to /target?
The goal is not to have those certificates in the end, I think those
patches achieve those goals, and I'm not sure we need to come up with
the most optimal or beautiful solution. If that was about the long-term
solution, rathen than about a short-term hotfix, that'd be a different
discussion.
Cheers,
--
Cyril Brulebois (ki…@debian.org) <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant