Build a failed initramfs again, and don't offer a reboot until it builds
When mkinitcpio fails during an update or install, run it once more. If that fails too, say why (a full /boot, a hook or module that isn't installed) and don't offer a reboot. The install now logs its upgrade and checks the build before finish-install offers one, and nvidia.sh's rebuild no longer stops the install. A failed build is carried into the next update's log, so it's rebuilt and checked until it builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -219,7 +219,7 @@ The script pulls the latest CoreDesktop, then runs each step in ~/.local/share/c
|
||||
- switches to up-to-date mirrors first if yours is more than a day behind Arch, as it would otherwise miss new packages without saying so
|
||||
- updates the Arch keyring, then Arch and GNOME, then AUR packages, Flatpaks, the languages you installed with mise, the pipx apps CoreDesktop installs, GNOME extensions and firmware
|
||||
- if the Arch upgrade stops because files no package owns are where a package now installs its own (left by `pip`, `make install` or an old installer), lists them and asks whether to move them to /var/lib/coredesktop/replaced and try again. If the second try fails too, it puts them back. If two packages conflict and pacman needs you to choose which to keep, it runs pacman again so you can answer
|
||||
- warns you not to reboot if the initramfs failed to rebuild
|
||||
- builds the initramfs again if it failed to build, and if that fails too, says why (a full /boot, a hook or module that isn't installed) and doesn't offer a reboot until it builds. The install does the same before it offers one.
|
||||
- runs any one-time migrations, the way existing machines pick up new CoreDesktop setup
|
||||
- lists packages that were installed only because something else needed them, and are no longer needed by anything, and asks before removing them. Packages CoreDesktop installs are never on this list. To keep one you use directly off the list, run `sudo pacman -D --asexplicit <package>`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user