diff options
Diffstat (limited to 'scripts/build/chroot_archives')
-rwxr-xr-x | scripts/build/chroot_archives | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives index 596fafc57..2332388ba 100755 --- a/scripts/build/chroot_archives +++ b/scripts/build/chroot_archives @@ -353,9 +353,7 @@ EOF do if [ -e "${FILE}" ] then - cp ${FILE} chroot/root - Chroot chroot "apt-key add /root/$(basename ${FILE})" - rm -f chroot/root/$(basename ${FILE}) + cp ${FILE} chroot/etc/apt/trusted.gpg.d/$(basename ${FILE}).asc fi done fi @@ -637,9 +635,7 @@ EOF do if [ -e "${FILE}" ] then - cp ${FILE} chroot/root - Chroot chroot "apt-key add /root/$(basename ${FILE})" - rm -f chroot/root/$(basename ${FILE}) + cp ${FILE} chroot/etc/apt/trusted.gpg.d/$(basename ${FILE}).asc fi done |