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 way to clear rootfs overlay on boot #986

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vishwamartur
Copy link

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.

Related to YoeDistro#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant