Commit 9b115ba
M9.R.42.2: wire REPRO_DISK_DIAG passthrough into the installer launcher
Companion to M9.R.42.1 — the disk-apply kernel-state snapshot hook
landed in ``libs/repro_profile/src/repro_profile/disk_apply.nim`` but
only fires when REPRO_DISK_DIAG is set in the apply driver's env.
The live-ISO installer launcher runs the installer through ``strace
-f`` which strips the parent env; we need an explicit ``-E
REPRO_DISK_DIAG=/tmp/installer.disk-diag.log`` passthrough so the
env-var reaches the ``repro disk apply`` subprocess.
Three changes in stage-de-rootfs.sh:
1. ``-E REPRO_DISK_DIAG=/tmp/installer.disk-diag.log`` added to the
strace argument list alongside the existing
``-E REPRO_HARDWARE_PROBE_RAWLOG_DIR=...`` passthrough.
2. ``rm -f`` list extended to include ``/tmp/installer.disk-diag.log``
so stale diag data from a previous boot cycle doesn't confuse the
current run.
3. The diag-persist ``tar -czf`` list dynamically includes
``installer.disk-diag.log`` when present (gated on ``[ -f ... ]``
so non-DIAG boots don't error on missing file).
The M9.R.42 install driver (_m9r42_install.sh) extracts + dumps the
disk-diag file from the launcher tarball so the Phase A
characterisation can compare /proc/partitions + /dev/<base>* +
udevadm settle exit codes BEFORE and AFTER each sgdisk +
partprobe step.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ff98d6c commit 9b115ba
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
931 | | - | |
| 931 | + | |
| 932 | + | |
932 | 933 | | |
933 | 934 | | |
934 | 935 | | |
| |||
1050 | 1051 | | |
1051 | 1052 | | |
1052 | 1053 | | |
| 1054 | + | |
1053 | 1055 | | |
1054 | 1056 | | |
1055 | 1057 | | |
| |||
1074 | 1076 | | |
1075 | 1077 | | |
1076 | 1078 | | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
1077 | 1085 | | |
1078 | 1086 | | |
1079 | 1087 | | |
1080 | | - | |
| 1088 | + | |
1081 | 1089 | | |
1082 | 1090 | | |
1083 | 1091 | | |
| |||
0 commit comments