diff --git a/debian-live-config/build.sh b/debian-live-config/build.sh index 60203cee..a08b744a 100755 --- a/debian-live-config/build.sh +++ b/debian-live-config/build.sh @@ -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 \ diff --git a/debian-live-config/config/archives/caddy-stable.pref b/debian-live-config/config/archives/caddy-stable.pref new file mode 100644 index 00000000..f46dcd6d --- /dev/null +++ b/debian-live-config/config/archives/caddy-stable.pref @@ -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