diff options
-rwxr-xr-x | scripts/build/bootstrap_archives | 4 | ||||
-rwxr-xr-x | scripts/build/chroot_archives | 8 |
2 files changed, 3 insertions, 9 deletions
diff --git a/scripts/build/bootstrap_archives b/scripts/build/bootstrap_archives index f7bf7d8c4..a5eca16a0 100755 --- a/scripts/build/bootstrap_archives +++ b/scripts/build/bootstrap_archives @@ -222,9 +222,7 @@ then 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 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 |