Skip to content
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

Add failure reporting to initrd #58

Merged
merged 4 commits into from Dec 4, 2019

Conversation

samueldr
Copy link
Member

@samueldr samueldr commented Dec 3, 2019

This is a simplified "everything's broken" kind of reporting.

This uses the existing ply-image based image rendering to render a "sad phone" image on a colored background. The color of the background, as documented, describe a reduced range of errors.

These errors are not for development debugging purpose, but rather to signify errors to end-users.

There is some fixing to be done in the future. As right now the way ply-image works, transparency is working as intended.

This will be used to convey that an irrecoverable failure happened at
boot.
Uses the sad-phone artwork to convey that something's wrong.

A color has to be given to help convey the issue in constrained
situations where no proper logging happens.
@samueldr samueldr added the 4. type: enhancement New feature or request label Dec 3, 2019
@samueldr samueldr merged commit 2bf8158 into NixOS:master Dec 4, 2019
@samueldr samueldr deleted the feature/initrd-fail branch December 4, 2019 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant