Ensure to import all gpgkeys
This commit is contained in:
parent
876b377d8e
commit
ddbf660c8d
@ -314,4 +314,17 @@ if [[ "$kiwi_profiles" =~ ^(x86-qcow|x86-vmware|aarch64-qcow)$ ]]; then
|
||||
echo "policy: search,found=all,maybe=disabled,notfound=disabled" > /etc/cloud/ds-identify.cfg
|
||||
fi
|
||||
|
||||
#======================================
|
||||
# Import trusted rpm keys
|
||||
#--------------------------------------
|
||||
for i in /usr/lib/rpm/gnupg/keys/gpg-pubkey*asc; do
|
||||
# importing can fail if it already exists
|
||||
rpm --import $i || true
|
||||
done
|
||||
|
||||
#======================================
|
||||
# Refresh zypper services / repos
|
||||
#--------------------------------------
|
||||
zypper refs
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user