-
Notifications
You must be signed in to change notification settings - Fork 307
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
lib/commit: fix checking flag with bitwise OR #1290
Conversation
Caught by Coverity. Coverity CID: 1458339
For checkouts that are on the same device, for regular files we can simply "adopt" existing files. This is useful in the "build from subtrees" pattern that happens with e.g. `rpm-ostree install` as well as flatpak and gnome-continuous. New files are things like an updated `ldconfig` cache, etc. And particularly for `rpm-ostree` we always regenerate the rpmdb, which for e.g. this workstation is `61MB`. We probably should have done this from the start, and instead had a `--copy` flag to commit, but obviously we have to be backwards compatible. There's more to do here - the biggest gap is probably for `bare-user` repos, which are often used with things like `rpm-ostree compose tree` for host systems. But we can do that later. Closes: #1272 Approved by: jlebon
I've been tempted to have a |
💡 This pull request was already approved, no need to approve it again. |
Caught by Coverity. Coverity CID: 1458339 Closes: #1290 Approved by: pwithnall
💔 Test failed - status-atomicjenkins |
That's projectatomic/papr#69. Should be fixed soon. |
☀️ Test successful - status-atomicjenkins |
Caught by Coverity.
Coverity CID: 1458339