Skip to content

Improvement suggestion: crinit should not stall when a task file is corrupt #4

@jochen-messner

Description

@jochen-messner

My target (qemu) was accidentally rebooted while I edited a .crinit task file. Since the file was corrupted, it had a wrong syntax. During reboot crinit reported the wrong syntax and stalled forever.

Image

That happened in the initial phase when all files get parsed. As a consequence the target did not boot anymore.

Suggestion: Just report/log the parse error, continue, and ignore the corrupt task files in the remaining initialization steps.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions