Skip to content
Snippets Groups Projects
Commit b745bfa6 authored by Chris Blake's avatar Chris Blake Committed by John Crispin
Browse files

base-files: Ensure reset only works if an overlay exists


Currently the reset script will try to run jffs2reset on boards that are
running a rw rootfs, such as ext4. This will cause jffs2reset to fail
and the board to never reboot while the LED blinks until a manual
reboot.

This commit does two different things:
1. Disables reset on boards that do not have an overlay mount
2. Disables the Blinking LED after 5 seconds if the board does not
support reset

Signed-off-by: default avatarChris Blake <chrisrblake93@gmail.com>
parent 83ece71d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment