clamares-online: Lets hope it works now

Signed-off-by: Peter Jung <admin@ptr1337.dev>
This commit is contained in:
Peter Jung committed 2024-08-19 20:29:36 +02:00
1 parent a90041383a
commit f4f905943b
1 file changed
+3 -1
@@ -26,12 +26,14 @@ catch_chrooted_pacman_log() {
}
Main() {
# Remove current keyring first, to completle intiate it
sudo rm -rf /etc/pacman.d/gnupg
# We are using this, because archlinux is signing the keyring often with a newly created keyring
# This results into a failed installation for the user.
# Installing archlinux-keyring fails due not being correctly signed
# Mitigate this by installing the latest archlinux-keyring on the ISO, before starting the installation
# The issue could also happen, when the installation does rank the mirrors and then a "faulty" mirror gets used
sudo pacman -Sy --noconfirm archlinux-keyring
sudo pacman -Sy --noconfirm archlinux-keyring cachyos-keyring
# Also populate the keys, before starting the Installer, to avoid above issue
sudo pacman-key --init
sudo pacman-key --populate archlinux cachyos