aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2012-03-13 17:09:59 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2012-03-13 17:09:59 +0900
commit0cdf8473e542ca6e54c7afe6d68e85e3727f0e88 (patch)
treed7cf4892abc05734057637f65036ea119d890963 /pbuilder-createbuildenv
parentf98a5e375b5a28527d1da04b03fe292def5a9a53 (diff)
downloadpbuilder-0cdf8473e542ca6e54c7afe6d68e85e3727f0e88.tar
pbuilder-0cdf8473e542ca6e54c7afe6d68e85e3727f0e88.tar.gz
factor out common code for apt key rings.
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv7
1 files changed, 1 insertions, 6 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index e17307c..0020d3f 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -85,12 +85,7 @@ mkdir -p "$BUILDPLACE/tmp/buildd"
copy_local_configuration
installaptlines
-# To support package verification inside the repository we may have to import
-# additional keys.
-for KEY in "${APTKEYRINGS[@]}"; do
- $CHROOTEXEC /usr/bin/apt-key add - < "${KEY}" > /dev/null
-done
-
+add_additional_aptkeyrings
executehooks "G"
log "I: Refreshing the base.tgz "