installer: Mark the local repository as trusted

apt-secure will now accept the local repository and Calamares can be run
without network connections.
This commit is contained in:
Roland Clobus 2023-01-14 22:37:14 +01:00 committed by Luca Boccassi
parent 61ae406dd7
commit 8c50c9c0ed
1 changed files with 3 additions and 0 deletions

View File

@ -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"