[Rpm-maint] [rpm-software-management/rpm] Add dbus-announce plugin (#1255)
Michael Schroeder
notifications at github.com
Mon Jun 8 17:49:18 UTC 2020
@mlschroe commented on this pull request.
> + state->logging = 1;
+
+ /* ...don't log test transactions */
+ if (rpmtsFlags(ts) & (RPMTRANS_FLAG_TEST|RPMTRANS_FLAG_BUILD_PROBS))
+ state->logging = 0;
+
+ /* ...don't log chroot transactions */
+ if (!rstreq(rpmtsRootDir(ts), "/"))
+ state->logging = 0;
+
+ /* Don't open */
+ if (!state->logging || state->bus)
+ return RPMRC_OK;
+
+ if (lstat("/run/systemd/system/", &st) == 0) {
+ if (S_ISDIR(st.st_mode)) {
Pardon my ignorance, but why is this depending on some systemd directory? Does dbus need systemd?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1255#pullrequestreview-426476154
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200608/86d485c0/attachment.html>
More information about the Rpm-maint
mailing list