Skip to content

fix: add wrapper to chipsec - #5

Merged
RiSKeD merged 1 commit into
mainfrom
fix/chipsec-read-only
Nov 20, 2025
Merged

fix: add wrapper to chipsec#5
RiSKeD merged 1 commit into
mainfrom
fix/chipsec-read-only

Conversation

@RiSKeD

@RiSKeD RiSKeD commented Nov 20, 2025

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Fabian Wienand <fabian.wienand@9elements.com>
Copilot AI review requested due to automatic review settings November 20, 2025 13:04
@RiSKeD
RiSKeD enabled auto-merge (rebase) November 20, 2025 13:04
@RiSKeD
RiSKeD disabled auto-merge November 20, 2025 13:04
@RiSKeD
RiSKeD merged commit f67deb8 into main Nov 20, 2025
5 of 6 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a wrapper to the chipsec package to handle a writable module_ids.json file. The implementation attempts to move the original file to a default location and create a symlink to a writable path in /var/lib/chipsec/.

Key Changes:

  • Added makeWrapper as a build dependency
  • Implemented a postInstall script that renames module_ids.json to module_ids_default.json and creates a symlink to /var/lib/chipsec/module_ids.json
  • Wrapped the chipsec_main binary to ensure the writable file is created at runtime

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkgs/chipsec/default.nix
Comment thread pkgs/chipsec/default.nix
Comment thread pkgs/chipsec/default.nix
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.

2 participants