Skip to content

Conversation

jp-bennett
Copy link
Collaborator

Add an optional define to build factory_install firmware. This firmware checks for a file named after the build epoch. If not found, it formats the local filesystem and then creates the file.

@jp-bennett jp-bennett added the enhancement New feature or request label Oct 2, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

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 factory install feature that performs a filesystem reset on first boot by introducing a FACTORY_INSTALL build option. When enabled, the firmware checks for a build epoch marker file and formats the filesystem if the file doesn't exist.

Key changes:

  • Added string stringification macros for build-time epoch handling
  • Implemented factory install logic that formats filesystem and creates epoch marker file on first boot

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@thebentern thebentern merged commit 0ddaf71 into master Oct 3, 2025
82 checks passed
@thebentern thebentern deleted the factory-install branch October 3, 2025 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants