apt-repos: Use signed-by instead of globally trusted keys.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2025-08-12 15:39:38 -07:00
committed by Tim Abbott
parent 60fe9d438f
commit fd1543a67c
8 changed files with 25 additions and 25 deletions

View File

@@ -98,7 +98,7 @@ if ! apt-get -dy install "${pre_setup_deps[@]}"; then
fi
apt-get -y install "${pre_setup_deps[@]}"
apt-key add "$LIST_PATH/"*.asc
cp "$LIST_PATH/"*.asc /etc/apt/keyrings/
cp "$LIST_PATH/$release.list" "$SOURCES_FILE"
if [ -e "$LIST_PATH/custom.sh" ]; then