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 4 commits into from Dec 4, 2019


Copy link

@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.

samueldr added 4 commits Oct 12, 2019
This will be used to convey that an irrecoverable failure happened at
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 merged commit 2bf8158 into NixOS:master Dec 4, 2019
@samueldr samueldr deleted the samueldr-wip:feature/initrd-fail branch Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.