The Gitea mirror db is registry-signed, so installs trust the registry key right after the pacman.conf restore, and a cn migration does the same on existing systems with an idempotent exact-line guard. The insertion lives in cn/lib/mirror.sh so 'omarchycn doctor mirror --fix' can restore the line after omarchy-refresh-pacman resets an overlay system's conf. Only stable is mirrored: the Gitea repository name must equal the pacman section name, and edge/rc stay on upstream directly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019hLK3wsDuKVAC37GgDqg6H
9 lines
360 B
Bash
9 lines
360 B
Bash
echo "Trust the OmarchyCN registry key and put the [omarchy] mirror first"
|
|
|
|
sudo pacman-key --add "$OMARCHY_PATH/cn/keys/omarchycn-registry.asc"
|
|
sudo pacman-key --lsign-key 74DCF57ACD812B24D959F146BD386048867B33B4
|
|
|
|
# Only the stable channel is mirrored; edge/rc systems keep upstream directly
|
|
source "$OMARCHY_PATH/cn/lib/mirror.sh"
|
|
cn_mirror_omarchy_repo_fix
|