diff --git a/Leap/Leap.kiwi b/Leap/Leap.kiwi index 18bd82b..bc2791a 100644 --- a/Leap/Leap.kiwi +++ b/Leap/Leap.kiwi @@ -1,7 +1,7 @@ - + openSUSE @@ -695,7 +695,7 @@ - + diff --git a/Leap/config.sh b/Leap/config.sh index 3214755..4d62723 100644 --- a/Leap/config.sh +++ b/Leap/config.sh @@ -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