diff --git a/live/src/agama-installer.changes b/live/src/agama-installer.changes index 2a3792412f..0726bc8afb 100644 --- a/live/src/agama-installer.changes +++ b/live/src/agama-installer.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 12 12:38:45 UTC 2024 - Josef Reidinger + +- Do not fail if there is no opensuse keys on medium for PXE + (gh#openSUSE/agama#1535) + ------------------------------------------------------------------- Fri Aug 2 08:02:41 UTC 2024 - Ladislav Slezák diff --git a/live/src/config.sh b/live/src/config.sh index c870e74103..1218b5e9a6 100644 --- a/live/src/config.sh +++ b/live/src/config.sh @@ -27,8 +27,10 @@ rm /tmp/systemsmanagement_key.gpg # import the IBS key for the Devel:YaST:Agama:Head project rpm --import /tmp/Devel_YaST_Agama_Head_key.gpg rm /tmp/Devel_YaST_Agama_Head_key.gpg -# import the openSUSE keys -rpm --import /usr/lib/rpm/gnupg/keys/*.asc +# import the openSUSE keys, but check if there is any +if stat -t /usr/lib/rpm/gnupg/keys/*.asc 2>/dev/null 1>/dev/null; then + rpm --import /usr/lib/rpm/gnupg/keys/*.asc +fi # activate services systemctl enable sshd.service