From 8c50c9c0ed8984bd687d6ef5e2a97399909901f5 Mon Sep 17 00:00:00 2001 From: Roland Clobus Date: Sat, 14 Jan 2023 22:37:14 +0100 Subject: [PATCH] installer: Mark the local repository as trusted apt-secure will now accept the local repository and Calamares can be run without network connections. --- scripts/build/installer_debian-installer | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build/installer_debian-installer b/scripts/build/installer_debian-installer index b1391fdec..b6d20bf7d 100755 --- a/scripts/build/installer_debian-installer +++ b/scripts/build/installer_debian-installer @@ -814,6 +814,9 @@ EOF rm -f chroot/binary.sh mv chroot/root/binary ./ + # Add to sources.list with the path that is used inside the live environment + echo "deb [trusted=yes] file:/run/live/medium ${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION} ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/chroot/etc/apt/sources.list + Echo_debug "Creating distribution directories/symlinks" DISTRIBUTIONS="stable testing unstable"