Skip to content

fix: set timeout: 3600 on create-pacman-keyring step - #237

Open
chrisdebian wants to merge 1 commit into
CachyOS:cachyosfrom
chrisdebian:fix/create-pacman-keyring-timeout
Open

fix: set timeout: 3600 on create-pacman-keyring step#237
chrisdebian wants to merge 1 commit into
CachyOS:cachyosfrom
chrisdebian:fix/create-pacman-keyring-timeout

Conversation

@chrisdebian

Copy link
Copy Markdown

Summary

Fixes #236.

create-pacman-keyring had no explicit timeout, so it used the module default of 30 seconds. The script runs pacman-key --init (entropy generation) plus two pacman -Sy retry loops to download cachyos-keyring and archlinux-keyring. On physical hardware this reliably exceeds 30 seconds, aborting the installation at the "initialize pacman" step.

update-mirrorlist already has timeout: 3600 for exactly this reason. This PR applies the same setting to create-pacman-keyring.

Change

# before
 - command: "bash /etc/calamares/scripts/create-pacman-keyring"
   verbose: true

# after
 - command: "bash /etc/calamares/scripts/create-pacman-keyring"
   timeout: 3600
   verbose: true

One line added; no logic changed.

The create-pacman-keyring script runs pacman-key --init (entropy
generation) and two pacman -Sy loops to download cachyos-keyring and
archlinux-keyring. On physical hardware with limited entropy sources or
slow mirrors, this easily exceeds the module default of 30 seconds,
causing the installer to abort at the "initialize pacman" step.

update-mirrorlist already has timeout: 3600 for the same reason.
Apply the same setting to create-pacman-keyring.

Fixes CachyOS#236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

create-pacman-keyring has no explicit timeout — fails on physical hardware with 30s default

1 participant