Skip to content

Commit

Permalink
Add way to clear rootfs overlay on boot
Browse files Browse the repository at this point in the history
Related to #755

Add functionality to clear rootfs overlay on boot.

* Add `clear_overlay` function to remove files in `/mnt/data/upper` and `/mnt/data/work`.
* Add checks for a special file `clear-overlay` on USB, SD, and data partitions in `update_from_usb`, `update_from_sd`, and `update_from_data` functions.
* Update `rescue_shell` function to call `clear_overlay` if the special file is found.
  • Loading branch information
vishwamartur committed Nov 27, 2024
1 parent a87dee7 commit 6997e1a
Show file tree
Hide file tree
Showing 9 changed files with 5,296 additions and 20 deletions.

This file was deleted.

Loading

0 comments on commit 6997e1a

Please sign in to comment.