phoebus_os/installer-rs/crates/phoebus-installer
Phoebus 12f264a0e9 fix(nvidia): install the driver before forcing it into the initramfs
The installer wrote dracut force_drivers naming nvidia modules during the
first kernel build, before the driver package existed, so the initial
kernel/initramfs build could not resolve them. Only the NVIDIA install
stage installs the driver and regenerates the initramfs.

- dracut_conf() no longer emits the NVIDIA fragment; the modprobe policy
  is still written before the kernel.
- write_nvidia_dracut_conf() writes it in the NVIDIA stage, after emerge
  and before kernel-install add-all.
- verify_nvidia_modules() proves the driver actually built modules for a
  kernel and fails the install otherwise; it returns the resolved version
  from var/db/pkg so the record carries the real version, kernel and
  module names rather than a 'current' label.
- The update path verifies the rebuilt modules before reporting success;
  previous kernels and module trees are left in place.
2026-09-23 06:13:14 -07:00
..
resources test(rust): add CLI coverage of the Bash installer surface 2026-09-20 02:57:57 -07:00
src fix(nvidia): install the driver before forcing it into the initramfs 2026-09-23 06:13:14 -07:00
tests test(nvidia): make the live payload gate prove compatibility 2026-09-23 06:09:54 -07:00
Cargo.toml feat(ai): guided AI optimization with DeepSeek/OpenAI providers 2026-09-20 04:47:11 -07:00