Skip to content

rate-mirrors: Disable cachyos-rate-mirrors timer in Live ISO - #109

Open
ptr1337 wants to merge 1 commit into
masterfrom
disable-cachyos-rate-mirrors
Open

ptr1337 wants to merge 1 commit into
masterfrom
disable-cachyos-rate-mirrors

Conversation

@ptr1337

@ptr1337 ptr1337 commented Jun 27, 2026

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Peter Jung <admin@ptr1337.dev>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a pacman hook intended to disable the cachyos-rate-mirrors systemd timer in the Live ISO environment, preventing automatic mirror re-ranking from running in that context.

Changes:

  • Add a new pacman PostTransaction hook triggered on cachyos-rate-mirrors install/upgrade to remove the timer enablement symlink.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Description = Disabling cachyos-rate-mirrors timer for the live environment...
When = PostTransaction
Depends = coreutils
Exec = /usr/bin/rm -f /etc/systemd/system/timers.target.wants/cachyos-rate-mirrors.timer

@ventureoo ventureoo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we just mask cachyos-rate-mirrors.timer unit?

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.

3 participants