Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gpg import #1535

Merged
merged 2 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions live/src/agama-installer.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 12 12:38:45 UTC 2024 - Josef Reidinger <jreidinger@suse.com>

- 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 <lslezak@suse.com>

Expand Down
6 changes: 4 additions & 2 deletions live/src/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down