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 PUPMODE 12 and quiet operation support in sfs_load.overlay #4131

Merged
merged 14 commits into from Aug 30, 2023

Conversation

dimkr
Copy link
Contributor

@dimkr dimkr commented Aug 17, 2023

This PR adds support for:

  • -q: assume yes to all questions
  • -c: hide the "Loading x" splash
  • +/path/to/sfs to load a SFS if not loaded already
  • -/path/to/sfs to unload a SFS if loaded
  • /path/to/sfs to load or unload a SFS, depending on current state
  • +name.sfs to load a SFS in PSUBDIR or root if not loaded already
  • -name.sfs to unload a SFS in PSUBDIR or root if loaded
  • name.sfs to load or unload a SFS, depending on current state

The idea is not to complicate sfs_load.overlay (230 lines) and make it impossible to maintain like sfs_load (2527 lines), but to allow the use case of sfs_load -q in a ~/Startup script.

EDIT: also added PUPMODE 12 support with protection against power failure and leftover symlinks.

@dimkr dimkr changed the title Add support for quiet operation of sfs_load.overlay Add support for quiet operation in sfs_load.overlay Aug 17, 2023
@dimkr dimkr changed the title Add support for quiet operation in sfs_load.overlay Add PUPMODE 12 and quiet operation support in sfs_load.overlay Aug 23, 2023
@dimkr dimkr merged commit ab54ef0 into puppylinux-woof-CE:testing Aug 30, 2023
@dimkr dimkr deleted the feature/sfs-load-overlay-flags branch August 30, 2023 16:59
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.

None yet

1 participant