Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check generated tmpfiles.d dir when removing package
When removing package, will also remove the generated tmpfile config under the rpm-ostree tmpfiles.d directory. Since coreos#4697, we use the new directory like `usr/lib/rpm-ostree/tmpfiles.d`, but for old `usr/lib/tmpfiles.d`, failed with `error: opendir(usr/lib/ rpm-ostree/tmpfiles.d): No such file or directory`. With this patch, check if `usr/lib/rpm-ostree/tmpfiles.d` does not exist, will use old `usr/lib/tmpfiles.d` instead. Also needs coreos#4727. Fixes: fedora-silverblue/issue-tracker#523
- Loading branch information