copy keys to /etc/apt/trusted.gpg.d with appropriate extension for them to not be ignored.
This commit is contained in:
parent
5290842288
commit
8403487d4e
|
@ -221,8 +221,13 @@ then
|
|||
config/archives/*.key.chroot
|
||||
do
|
||||
if [ -e "${FILE}" ]
|
||||
then
|
||||
if grep -q "PGP PUBLIC KEY BLOCK" "${FILE}"
|
||||
then
|
||||
cp ${FILE} chroot/etc/apt/trusted.gpg.d/$(basename ${FILE}).asc
|
||||
else
|
||||
cp ${FILE} chroot/etc/apt/trusted.gpg.d/$(basename ${FILE}).gpg
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
|
@ -352,8 +352,13 @@ EOF
|
|||
config/archives/*.key.chroot
|
||||
do
|
||||
if [ -e "${FILE}" ]
|
||||
then
|
||||
if grep -q "PGP PUBLIC KEY BLOCK" "${FILE}"
|
||||
then
|
||||
cp ${FILE} chroot/etc/apt/trusted.gpg.d/$(basename ${FILE}).asc
|
||||
else
|
||||
cp ${FILE} chroot/etc/apt/trusted.gpg.d/$(basename ${FILE}).gpg
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue