fix(installer): disable os-prober to prevent update-grub hang on multi-disk hardware

On N100 mini-PCs with eMMC + NVMe, update-grub's os-prober probes all
block devices via the bind-mounted /dev, hanging indefinitely on the eMMC.
GRUB_DISABLE_OS_PROBER=true skips os-prober in the chroot.

Also apply modernize lint fixes to vm test files (atomic.Int32).
This commit is contained in:
joshsiv-mulga
2026-05-14 08:10:01 +10:00
parent 38373b2fc7
commit f8d025d07e
3 changed files with 22 additions and 21 deletions
+1
View File
@@ -574,6 +574,7 @@ GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=Spinifex
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200 systemd.show_status=1"
GRUB_DISABLE_OS_PROBER=true
`
if err := os.WriteFile(filepath.Join(mountRoot, "etc/default/grub"), []byte(grubDefault), 0o644); err != nil {