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

Bug#855035: debian-installer: https does not work with stretch rc2 installer



Hi Hilko,

Cyril Brulebois <kibi@debian.org> (2017-02-15):
> Eww, we have this code right now already:
> | 	# If we need SSL certificates, copy them in now.
> | 	if [ "$PROTOCOL" = "https" ] && [ -d /etc/ssl/certs ]; then
> | 		if find /etc/ssl/certs/ -name \*.crt | grep -q .; then
> | 			mkdir -p /target/usr/local/share/ca-certificates
> | 			cp -a /etc/ssl/certs/*.crt /target/usr/local/share/ca-certificates/
> | 			chroot /target update-ca-certificates || true
> | 		fi
> | 	fi
> 
> → It's likely not getting run with netinst images…
> 
> I think I'll file this as another bug report for reference.

Actually I've fixed it along the way, and I've just uploaded
base-installer 1.168 with these two fixes:
  https://anonscm.debian.org/cgit/d-i/base-installer.git/commit/?id=ee95d8a89a0a95f7d9082a83b15ee5a406f99c43
  https://anonscm.debian.org/cgit/d-i/base-installer.git/commit/?id=7a79b4556436d5f8a40f6aa161fc4237794182d4

(Note: I haven't tested the codepath for the second issue.)

Testing with the same parameters as you mentioned earlier shows the
issue with a netinst rc2 image, and a fixed behaviour with a rebuilt
image. Do you want to give it a try, or will you wait for rc3?


KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: