aboutsummaryrefslogtreecommitdiff
path: root/tests/installer-steps/test_ensure_nvme_early_module.py
Commit message (Collapse)AuthorAgeFilesLines
* fix(installer): rebuild initramfs after the nvme MODULES editCraig Jennings35 hours1-0/+95
The nvme early-load edit landed in mkinitcpio.conf, but the only nearby mkinitcpio -P ran behind an is-not-zfs-root gate. On ZFS-root machines (all of mine) the hardening was never compiled into the initramfs, which is exactly the case the early load exists for. The extracted ensure_nvme_early_module now rebuilds whenever it changed the file, and skips the rebuild on an unchanged conf so a resume stays idempotent. The already-present check also grepped the whole file for "nvme", so a comment or nvme_tcp anywhere skipped the edit. It now checks for the nvme word on the MODULES line only.