diff options
author | Junichi Uekawa <dancer@netfort.gr.jp> | 2012-03-13 17:09:59 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@netfort.gr.jp> | 2012-03-13 17:09:59 +0900 |
commit | 0cdf8473e542ca6e54c7afe6d68e85e3727f0e88 (patch) | |
tree | d7cf4892abc05734057637f65036ea119d890963 /pbuilder-modules | |
parent | f98a5e375b5a28527d1da04b03fe292def5a9a53 (diff) | |
download | pbuilder-0cdf8473e542ca6e54c7afe6d68e85e3727f0e88.tar pbuilder-0cdf8473e542ca6e54c7afe6d68e85e3727f0e88.tar.gz |
factor out common code for apt key rings.
Diffstat (limited to 'pbuilder-modules')
-rw-r--r-- | pbuilder-modules | 9 |
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 |