Skip to content

Fix release install omitting initramfs provenance - #501

Merged
Pedro Henrique Penna (ppenna) merged 5 commits into
microsoft:devfrom
akhil9tiet:fix/497-initramfs-provenance
Oct 12, 2026
Merged

Pedro Henrique Penna (ppenna) merged 5 commits into
microsoft:devfrom
akhil9tiet:fix/497-initramfs-provenance

Conversation

@akhil9tiet

Copy link
Copy Markdown
Contributor

Fixes #497

The release installer restored provenance files for OpenVMM and kernel builds but not for initramfs — InitramfsBuildConstants.PROVENANCE_NAME was missing from the provenance tuple in _install_release_archive, leaving build/initramfs.provenance.json missing on fresh installs or stale on upgrades. One-line fix plus test coverage.

Copilot AI balanced review requested due to automatic review settings October 11, 2026 23:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused fix is consistent with packaging requirements and has appropriate regression coverage.

0 open findings

What changed in this PR

Fixes release installation so initramfs provenance is restored alongside other runtime provenance.

Changes:

  • Installs packaged initramfs provenance.
  • Extends release installer test fixtures and assertions.
File Description
scripts/​nvx_tools/​release.py Adds initramfs provenance to installed artifacts.
scripts/​test_nvx_tools.py Covers initramfs provenance installation.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ppenna
Pedro Henrique Penna (ppenna) merged commit 8f37284 into microsoft:dev Oct 12, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Track release download bugs: missing initramfs provenance

3 participants