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

wtfos dependency #3

Open
stylesuxx opened this issue May 4, 2022 · 1 comment
Open

wtfos dependency #3

stylesuxx opened this issue May 4, 2022 · 1 comment

Comments

@stylesuxx
Copy link
Collaborator

stylesuxx commented May 4, 2022

I think all contributed packages should have a dependency to the wtfos-system package. This allows us to uninstall wtfos cleanly by only uninstalling wtfos-system, triggering the removal of all depending packages.

For most packages it will probably not matter since they will only "live" in the /blackbox/opt/* env, but in case something needs to write to some external files this would be a good option for a proper cleanup.

If you think this makes sense, I'd add it to the Readme and the example repo. Further I could also check this dependency when building the package index.

@j005u
Copy link
Contributor

j005u commented May 4, 2022

I would argue that since uninstall also removes the loop mounted /system, packages couldn't really have modified anything important that would persist.

There's an argument to be made to have deleting the contents of /opt/ be an optional manual step. But I had considered the same dependency before.

Open to changing my mind, would like to hear if anyone else has anything to say on the subject.

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

No branches or pull requests

2 participants