aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-modules
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-modules
parentf98a5e375b5a28527d1da04b03fe292def5a9a53 (diff)
downloadpbuilder-0cdf8473e542ca6e54c7afe6d68e85e3727f0e88.tar
pbuilder-0cdf8473e542ca6e54c7afe6d68e85e3727f0e88.tar.gz
factor out common code for apt key rings.
Diffstat (limited to 'pbuilder-modules')
-rw-r--r--pbuilder-modules9
1 files changed, 9 insertions, 0 deletions
diff --git a/pbuilder-modules b/pbuilder-modules
index 36180ba..b2e6585 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -582,6 +582,15 @@ function conditional_cp_a() {
fi
}
+function add_additional_aptkeyrings() {
+# To support package verification inside the repository we may have to import
+# additional keys.
+ for KEY in "${APTKEYRINGS[@]}"; do
+ log "I: adding apt key file ${KEY}."
+ $CHROOTEXEC /usr/bin/apt-key add - < "${KEY}" > /dev/null
+ done
+}
+
#Setting environmental variables that are really required:
#required for some packages to install...
export LANG=C