diff options
author | Daniel Baumann <daniel@debian.org> | 2011-06-15 21:21:41 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-06-15 21:25:14 +0200 |
commit | 2312f18ef190e3d1ea997435a012b58551ba1459 (patch) | |
tree | 14ed23d67a761cbabaea0f6e2adf489d973c321b /scripts | |
parent | 535051e43d60d450aaa8da4c5254ec3143bf2533 (diff) | |
download | vyos-live-build-2312f18ef190e3d1ea997435a012b58551ba1459.tar.gz vyos-live-build-2312f18ef190e3d1ea997435a012b58551ba1459.zip |
Changing archives key suffix from .gpg to .key.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/lb_chroot_archives | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/scripts/build/lb_chroot_archives b/scripts/build/lb_chroot_archives index d06581d3b..b85b70883 100755 --- a/scripts/build/lb_chroot_archives +++ b/scripts/build/lb_chroot_archives @@ -236,12 +236,12 @@ EOF if [ "${LB_APT_SECURE}" != false ] then # Adding archive signing keys (chroot) - if [ -e "${LB_BASE}/archives/${REPOSITORY}.chroot.gpg" ] + if [ -e "${LB_BASE}/archives/${REPOSITORY}.chroot.key" ] then - cat "${LB_BASE}/archives/${REPOSITORY}.chroot.gpg" | Chroot chroot "apt-key add -" - elif [ -e "${LB_BASE}/archives/${REPOSITORY}.gpg" ] + cat "${LB_BASE}/archives/${REPOSITORY}.chroot.key" | Chroot chroot "apt-key add -" + elif [ -e "${LB_BASE}/archives/${REPOSITORY}.key" ] then - cat "${LB_BASE}/archives/${REPOSITORY}.gpg" | Chroot chroot "apt-key add -" + cat "${LB_BASE}/archives/${REPOSITORY}.key" | Chroot chroot "apt-key add -" fi fi done @@ -457,10 +457,10 @@ EOF Chroot chroot "apt-get ${APT_OPTIONS} install aptitude" fi else # Get fresh indices - # Check local gpg keys - if Find_files config/archives/*.chroot.gpg + # Check local archive keys + if Find_files config/archives/*.chroot.key then - for FILE in config/archives/*.chroot.gpg + for FILE in config/archives/*.chroot.key do cp ${FILE} chroot/root Chroot chroot "apt-key add /root/$(basename ${FILE})" @@ -755,12 +755,12 @@ EOF if [ "${LB_APT_SECURE}" != false ] then # Adding archive signing keys (binary) - if [ -e "${LB_BASE}/archives/${REPOSITORY}.binary.gpg" ] + if [ -e "${LB_BASE}/archives/${REPOSITORY}.binary.key" ] then - cat "${LB_BASE}/archives/${REPOSITORY}.binary.gpg" | Chroot chroot "apt-key add -" - elif [ -e "${LB_BASE}/archives/${REPOSITORY}.gpg" ] + cat "${LB_BASE}/archives/${REPOSITORY}.binary.key" | Chroot chroot "apt-key add -" + elif [ -e "${LB_BASE}/archives/${REPOSITORY}.key" ] then - cat "${LB_BASE}/archives/${REPOSITORY}.gpg" | Chroot chroot "apt-key add -" + cat "${LB_BASE}/archives/${REPOSITORY}.key" | Chroot chroot "apt-key add -" fi fi done @@ -779,10 +779,10 @@ EOF done fi - # Check local gpg keys - if Find_files config/archives/*.binary.gpg + # Check local archive keys + if Find_files config/archives/*.binary.key then - for FILE in config/archives/*.binary.gpg + for FILE in config/archives/*.binary.key do cp ${FILE} chroot/root Chroot chroot "apt-key add /root/$(basename ${FILE})" |