Skip to content

Regenerate displayconfig.json if erroneous #575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 8, 2025

Conversation

tyeth
Copy link
Member

@tyeth tyeth commented Apr 22, 2024

It's possible for the display config file to be corrupt, at which point the funhouse fails to continue.
It's a standard file we generate so this commit regenerates the file if erroneous

@tyeth
Copy link
Member Author

tyeth commented Apr 22, 2024

Closes #563

@tyeth tyeth force-pushed the funhouse-display-config-recreate branch from d4017ab to 989f666 Compare April 22, 2024 15:32
@tyeth tyeth requested a review from brentru April 22, 2024 15:39
@tyeth
Copy link
Member Author

tyeth commented Apr 22, 2024

@brentru this one is also ready for review

@brentru
Copy link
Member

brentru commented Apr 22, 2024

@tyeth Can we hold on to this PR until we merge and release what's required for NO-OTA?

@tyeth
Copy link
Member Author

tyeth commented Apr 22, 2024 via email

@brentru
Copy link
Member

brentru commented Aug 9, 2024

@tyeth Should we look at this again?

@tyeth
Copy link
Member Author

tyeth commented Aug 9, 2024

Ah yes, also when secrets exists but is corrupt (usually 0bytes).

I've been seeing some weird behaviour regarding first boot after installation (second boot gives more stable filesystem), but not pinned down anything definitive.

@tyeth
Copy link
Member Author

tyeth commented Oct 15, 2024

Leaving this one open until file system corruption issue is resolved hopefully this week. It could go in as is, but there will be movement in same code areas as we try to avoid unnecessary file writes at boot.

@tyeth
Copy link
Member Author

tyeth commented Nov 15, 2024

Note to add this when I do #655

@tyeth tyeth force-pushed the funhouse-display-config-recreate branch from db2af9c to b7a915a Compare November 22, 2024 14:42
@brentru
Copy link
Member

brentru commented Feb 11, 2025

@tyeth Do we still want this?

@brentru
Copy link
Member

brentru commented Mar 3, 2025

@tyeth Should I take another look at this, this week?

@tyeth
Copy link
Member Author

tyeth commented Mar 7, 2025

Yes please

Copy link
Member

@brentru brentru left a comment

Choose a reason for hiding this comment

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

@tyeth I am requesting some changes but the overall idea looks good.

@tyeth
Copy link
Member Author

tyeth commented Jul 7, 2025

I totally missed this PR feedback, I was just revising the issue after seeing it again last week during guide work.
I'll do that this week

@tyeth tyeth force-pushed the funhouse-display-config-recreate branch from b8bfc3f to 0bdbc05 Compare July 8, 2025 13:35
@tyeth
Copy link
Member Author

tyeth commented Jul 8, 2025

@brentru this one I believe is ready, and have rebased and retested it, assuming I'm going with the default arguments in the header files. If that's not acceptable it can be quickly remedied.

@tyeth tyeth requested a review from brentru July 8, 2025 18:34
Copy link
Member

@brentru brentru left a comment

Choose a reason for hiding this comment

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

LGTM

@brentru brentru merged commit a89218c into main Jul 8, 2025
40 checks passed
@tyeth tyeth deleted the funhouse-display-config-recreate branch July 11, 2025 22:03
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