phoebus_os/installer-rs/crates/phoebus-executor
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
..
src fix(nvidia): install the driver before forcing it into the initramfs 2026-09-23 06:13:14 -07:00
tests feat(nvidia): hardware-driven driver policy, installed integration and live payload 2026-09-22 21:53:28 -07:00
Cargo.toml feat(rust): port OpenCode provisioning with verified checksums 2026-09-20 03:00:30 -07:00