import gnome-settings-daemon-40.0.1-6.el9
This commit is contained in:
parent
858acff0c9
commit
a45fda9e07
@ -210,7 +210,7 @@ new file mode 100644
|
|||||||
index 00000000..182f7190
|
index 00000000..182f7190
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/plugins/subman/gsd-subman-helper.c
|
+++ b/plugins/subman/gsd-subman-helper.c
|
||||||
@@ -0,0 +1,378 @@
|
@@ -0,0 +1,372 @@
|
||||||
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
|
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
|
||||||
+ *
|
+ *
|
||||||
+ * Copyright (C) 2019 Richard Hughes <rhughes@redhat.com>
|
+ * Copyright (C) 2019 Richard Hughes <rhughes@redhat.com>
|
||||||
@ -477,9 +477,11 @@ index 00000000..182f7190
|
|||||||
+ return G_IO_ERROR_NOT_FOUND;
|
+ return G_IO_ERROR_NOT_FOUND;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ /* no options */
|
+ /* enable_content=1 auto attaches the subscription */
|
||||||
+ subman_options = g_variant_builder_new (G_VARIANT_TYPE("a{ss}"));
|
+ subman_options = g_variant_builder_new (G_VARIANT_TYPE("a{ss}"));
|
||||||
+
|
+
|
||||||
|
+ g_variant_builder_add (subman_options, "{ss}", "enable_content", "1");
|
||||||
|
+
|
||||||
+ /* set registration server */
|
+ /* set registration server */
|
||||||
+ if (hostname == NULL || hostname[0] == '\0')
|
+ if (hostname == NULL || hostname[0] == '\0')
|
||||||
+ hostname = g_strdup ("subscription.rhsm.redhat.com");
|
+ hostname = g_strdup ("subscription.rhsm.redhat.com");
|
||||||
@ -578,17 +580,9 @@ index 00000000..182f7190
|
|||||||
+ return G_IO_ERROR_NOT_INITIALIZED;
|
+ return G_IO_ERROR_NOT_INITIALIZED;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ /* wait for rhsmd to notice the new config */
|
|
||||||
+ g_usleep (G_USEC_PER_SEC * 5);
|
|
||||||
+
|
|
||||||
+ /* auto-attach */
|
|
||||||
+ if (!_helper_auto_attach (&error)) {
|
|
||||||
+ g_printerr ("Failed to AutoAttach: %s\n", error->message);
|
|
||||||
+ return G_IO_ERROR_NOT_INITIALIZED;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ return EXIT_SUCCESS;
|
+ return EXIT_SUCCESS;
|
||||||
+}
|
+}
|
||||||
|
+
|
||||||
diff --git a/plugins/subman/gsd-subscription-manager.c b/plugins/subman/gsd-subscription-manager.c
|
diff --git a/plugins/subman/gsd-subscription-manager.c b/plugins/subman/gsd-subscription-manager.c
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 00000000..08b13fa6
|
index 00000000..08b13fa6
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Name: gnome-settings-daemon
|
Name: gnome-settings-daemon
|
||||||
Version: 40.0.1
|
Version: 40.0.1
|
||||||
Release: 5%{?dist}.1
|
Release: 6%{?dist}
|
||||||
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
|
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -194,17 +194,17 @@ cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
|
|||||||
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
|
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Sep 15 2021 Kalev Lember <klember@redhat.com> - 40.0.1-5.1
|
* Mon Feb 14 2022 Ray Strode <rstrode@redhat.com> - 40.0.1-6
|
||||||
- Rebuilt
|
- Update for non-deprecated subscription management API
|
||||||
- Related: #2002166
|
Resolves: #2049734
|
||||||
|
|
||||||
* Wed Sep 08 2021 Kalev Lember <klember@redhat.com> - 40.0.1-5
|
* Wed Sep 08 2021 Kalev Lember <klember@redhat.com> - 40.0.1-5
|
||||||
- Fix the icon shown for subscription manager notifications
|
- Fix the icon shown for subscription manager notifications
|
||||||
- Related: #2002166
|
- Related: #1937113
|
||||||
|
|
||||||
* Thu Sep 02 2021 Kalev Lember <klember@redhat.com> - 40.0.1-4
|
* Thu Sep 02 2021 Kalev Lember <klember@redhat.com> - 40.0.1-4
|
||||||
- Forward port subscription manager support from RHEL 8
|
- Forward port subscription manager support from RHEL 8
|
||||||
- Resolves: #2002166
|
- Resolves: #1937113
|
||||||
|
|
||||||
* Thu Aug 19 2021 Carlos Garnacho <cgarnach@redhat.com> - 40.0.1-3
|
* Thu Aug 19 2021 Carlos Garnacho <cgarnach@redhat.com> - 40.0.1-3
|
||||||
- Backport power saving changes
|
- Backport power saving changes
|
||||||
|
Loading…
Reference in New Issue
Block a user