summaryrefslogtreecommitdiffstats
path: root/share/build-scripts/debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2024-08-29 09:53:56 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2024-08-29 11:21:52 +0000
commit4b3c014ad3c0e6f707cd90a26547e18a71480420 (patch)
tree8a6586948e0ddcd4334edae79a1ba8be73ef23f4 /share/build-scripts/debconf
parentSwitching from apt list files to sources files. (diff)
downloadcompute-tools-4b3c014ad3c0e6f707cd90a26547e18a71480420.tar.xz
compute-tools-4b3c014ad3c0e6f707cd90a26547e18a71480420.zip
Using signed-by for debian apt sources.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/build-scripts/debconf')
-rwxr-xr-xshare/build-scripts/debconf6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/build-scripts/debconf b/share/build-scripts/debconf
index eb25613..489808b 100755
--- a/share/build-scripts/debconf
+++ b/share/build-scripts/debconf
@@ -373,7 +373,7 @@ Bootstrap ()
INCLUDE="dbus"
# apt repositories
- INCLUDE="${INCLUDE},gnupg"
+ INCLUDE="${INCLUDE},gnupg,debian-archive-keyring"
if ( echo "${MIRROR}" | grep -qs '^https' ) || \
( echo "${PARENT_MIRROR}" | grep -qs '^https' )
@@ -503,6 +503,7 @@ URIs: ${PARENT_MIRROR}
Suites: ${PARENT_DIST}
Components: ${PARENT_AREA}
PDiffs: no
+Signed-By: /usr/share/keyrings/debian-archive-${PARENT_DIST}-stable.gpg
EOF
case "${MODE}" in
@@ -588,6 +589,7 @@ URIs: ${PARENT_MIRROR}
Suites: ${PARENT_DIST}
Components: ${PARENT_AREA}
PDiffs: no
+Signed-By: /usr/share/keyrings/debian-archive-${PARENT_DIST}-stable.gpg
EOF
AUTOMATIC_SUITES=""
@@ -624,6 +626,7 @@ URIs: ${PARENT_MIRROR}
Suites: ${AUTOMATIC_SUITES}
Components: ${PARENT_AREA}
PDiffs: no
+Signed-By: /usr/share/keyrings/debian-archive-${PARENT_DIST}-automatic.gpg
EOF
fi
@@ -654,6 +657,7 @@ URIs: ${PARENT_MIRROR_SECURITY}
Suites: ${PARENT_DIST}-security
Components: ${PARENT_AREA}
PDiffs: no
+Signed-By: /usr/share/keyrings/debian-archive-${PARENT_DIST}-security-automatic.gpg
EOF
fi