Self-heal: driver fallback chain, repatch-time glibc gate, boot failsafe - #2
Conversation
Harden the self-heal path against an OS update staging a slot whose kernel the pinned driver cannot build against. - --driver PREF (pinned|latest|<branch prefix>) selects which driver a repatch reaches for, and repatch now walks pref -> latest -> last known-good instead of dying on the first failure. driver.conf is rewritten with the set that actually built, so the fallback floor tracks a proven driver. Candidate resolution requires all nvidia packages to share nvidia-utils' pkgver so a mid-bump archive is skipped. - Run the glibc gate at repatch time, not just build time: a newer driver than the one vetted at build time can need newer glibc than the slot ships, and the kernel module never links glibc, so it would build fine and black-screen on Arch-compiled userspace. Rejection falls through to the next candidate. Adds binutils to the chroot for readelf. - Boot failsafe unit: if a boot has no nvidia module, verify the other slot does, then mark this image invalid and reboot back to it. One-shot stamp on /home prevents a bootloop; with nowhere safe to go it starts sshd and stays up. Kept across updates via atomic-update.conf.d and reinstalled into the staged slot by repatch. - repatch.sh <partset> force rebuilds even when a module is present. - Preflight checks for DRIVER_PREF, failsafe.sh, and the enabled unit. - README: document --driver and the failsafe.
|
I would like to propose adding native SATA support as a default feature. Currently, the official SteamOS installer is optimized for NVMe drives (nvme0n1), requiring users to manually modify the installation scripts and partition the target drive to utilize SATA SSDs or HDDs. To facilitate SATA installation, the process currently requires manually unmounting and formatting the drive via KDE Partition Manager and modifying the |
|
Thanks for this — it's thoughtful hardening, and sorry it's sat a while. Status update and a proposal: The The parts of this PR that are still very much wanted on top of current
If you're up for rebasing those three onto current |
|
Hi we have a new born now so not much time feel free to cherry pick anything you need! Enjoy your vids! I am on Omarchy Quattro now |
|
Amazing news Kids are great ..will have a look at this properly when i get time thanks |
Harden the self-heal path against an OS update staging a slot whose kernel the pinned driver cannot build against.