NoSignal-OS/os updates/nosignal-update/migrations/1781467200-cachy-pacman-db-pin.sh
28allday 19fd794b6b NoSignal — fully-offline Arch → Hyprland desktop installer
Single-script builder (nosignal.sh) that turns a stock Arch Linux ISO into a
fully-offline installer for a themed Hyprland + caelestia (Quickshell) desktop:
matching SDDM greeter, Btrfs/Limine bootable snapshots, chwd-style GPU
detection, and a curated "os updates" layer (keybind cheatsheet, settings
panels, system polish, on-box management skill). See README.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 11:03:10 +01:00

14 lines
882 B
Bash
Executable file

#!/usr/bin/env bash
# 1781467200-cachy-pacman-db-pin.sh
# Follow-up to 1781460000-cachyos-repo-switch: makes the
# stock-pacman pin DURABLE (IgnorePkg = pacman in pacman.conf for as long as
# CachyOS is enabled, not just the helper's own -Suu) and cleans the
# `%INSTALLED_DB%` field the CachyOS pacman leaves in the local DB (a warning
# flood on every pacman/yay op). The fix folds INTO the existing
# cachyos-repo-switch component: it ships the corrected nosignal-cachy-repo plus
# the standalone nosignal-cachy-db-clean repair tool, and its installer
# one-shot-cleans any contamination already present. Re-running the component
# installer here picks all of that up. Idempotent.
set -euo pipefail
: "${NOSIGNAL_SRC:?NOSIGNAL_SRC must point at the NoSignal source root}"
sudo env NOSIGNAL_SKIP_SHELL_PATCH=1 sh "$NOSIGNAL_SRC/cachyos-repo-switch/install-cachyos-repo-switch.sh"