From dc6448d1417761c84eea68a5bb5a578ac112f3b5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 29 Aug 2024 11:20:02 +0200 Subject: Using signed-by for local apt sources. Signed-off-by: Daniel Baumann --- share/build-scripts/debconf | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'share/build-scripts/debconf') diff --git a/share/build-scripts/debconf b/share/build-scripts/debconf index 489808b..b739bac 100755 --- a/share/build-scripts/debconf +++ b/share/build-scripts/debconf @@ -693,12 +693,7 @@ EOF if ls "${DEBCONF_TMPDIR}/apt"/*.key > /dev/null 2>&1 then - for KEY in "${DEBCONF_TMPDIR}/apt"/*.key - do - cp "${KEY}" "${DIRECTORY}" - Chroot "${DIRECTORY}" "apt-key add $(basename ${KEY})" - rm -f "${DIRECTORY}/$(basename ${KEY})" - done + cp "${DEBCONF_TMPDIR}/apt"/*.key "${DIRECTORY}/etc/apt/keyrings" fi if ls "${DEBCONF_TMPDIR}/apt"/*.pref > /dev/null 2>&1 -- cgit v1.2.3