mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 21:59:58 -05:00
Debian ISOs install Caddy from Caddy's repository
Moving caddy into package-lists/ made apt read config/archives/ before ca-certificates was installed, so the HTTPS fetch of Caddy's repository failed certificate verification. apt ignores a failed repository, and the image silently got Debian's much older caddy 2.6.2 instead of 2.11. ca-certificates is now part of the bootstrap, and Debian's caddy is pinned to -1, so an unreachable Caddy repository fails the build and installed systems never switch to Debian's caddy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4f8426f71f
commit
3c1552be28
2 changed files with 10 additions and 0 deletions
|
|
@ -73,6 +73,8 @@ set -e
|
|||
# usual graphical/text installer flow. GRUB gets "Install" + "Graphical
|
||||
# install" + "Live" entries. noswap prevents the live system from
|
||||
# activating swap partitions found on the host machine's internal disks.
|
||||
# ca-certificates must be in the bootstrap so apt can reach the HTTPS
|
||||
# repositories in config/archives/ before the package lists are installed.
|
||||
lb config \
|
||||
--binary-images iso-hybrid \
|
||||
--mode debian \
|
||||
|
|
@ -85,6 +87,7 @@ lb config \
|
|||
--updates true \
|
||||
--security true \
|
||||
--apt-recommends false \
|
||||
--debootstrap-options "--include=ca-certificates" \
|
||||
--firmware-binary true \
|
||||
--firmware-chroot true \
|
||||
--win32-loader false \
|
||||
|
|
|
|||
7
debian-live-config/config/archives/caddy-stable.pref
Normal file
7
debian-live-config/config/archives/caddy-stable.pref
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Only ever install Caddy from Caddy's repository (caddy-stable.list). Debian
|
||||
# ships a much older caddy; if Caddy's repository is unreachable, the build
|
||||
# fails instead of silently falling back to it, and installed systems never
|
||||
# switch to it.
|
||||
Package: caddy
|
||||
Pin: release o=Debian
|
||||
Pin-Priority: -1
|
||||
Loading…
Add table
Add a link
Reference in a new issue