-
Notifications
You must be signed in to change notification settings - Fork 54
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
Use latest snapper installation helper #2246
base: main
Are you sure you want to change the base?
Conversation
return &snapperBackend{cfg: cfg, maxSnapshots: maxSnapshots, btrfs: newBtrfsBackend(cfg, maxSnapshots)} | ||
|
||
// TODO detect wheather the current snapper supports the required installation helper | ||
return &snapperBackend{cfg: cfg, maxSnapshots: maxSnapshots, btrfs: nil} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should initiate btrfs backend if snapper does not support the latest installation helper and use it instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR is blocked until a new snapper version is released in TW. Then addressing this TODO will be needed.
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
1b57b94
to
6e398a1
Compare
With the installation helper the btrfs backend instance is no longer required in snapper backend implementation.
This PR adopts the upstream changes in snapper to fix openSUSE/snapper#944