-
Notifications
You must be signed in to change notification settings - Fork 90
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
usysconf-epoch: Finalise #3491
usysconf-epoch: Finalise #3491
Conversation
17d345b
to
3638c84
Compare
3638c84
to
e9c96f1
Compare
e9c96f1
to
2ed1696
Compare
This question may be out of scope for this PR, but if a user is experiencing an issue or slowness, is there actually anything that we can ask them or get them to provide to try to figure out why? |
Yeah, the script logs what it's doing. If a user can retrieve the logs |
The script is killed after 10 minutes, so this will show the message for 30 seconds.
2ed1696
to
afc7f95
Compare
Merging this so I can follow it up in the next PR. |
Summary
Finalise the usysconf-epoch script:
Run it through shellcheck.
Actually delete orphaned files after backup.
Add a CLI flag for testing in a VM without rebooting.
Special case kernel module dep/map files.
Add support for an eopkg flag file and an epoch flag file.
Show a message while the script runs:
usysconf-progress-2024-08-07_18.49.56.mp4
Note that the epoch script depends on the work in getsolus/eopkg#78 and getsolus/eopkg#79. The script is behind feature flags (see below), so it is safe to merge.
Test Plan
Tested in a VM with various disk limits:
Enabled by editing
/etc/sysconfig/epoch
with:Checklist
Package was built and tested against unstable