aboutsummaryrefslogtreecommitdiffstats
path: root/community/fwupd/fix-no-systemd.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-30 17:41:03 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-30 17:47:16 +0100
commit7c14b2014d4efc0a395eb103c6bf008c5b063de5 (patch)
tree0206ec415a26d5ad33f5785f72d0d1bfa04166d5 /community/fwupd/fix-no-systemd.patch
parente19075e344003d6d91b816795583bdfb4b86424b (diff)
downloadaports-7c14b2014d4efc0a395eb103c6bf008c5b063de5.tar.bz2
aports-7c14b2014d4efc0a395eb103c6bf008c5b063de5.tar.xz
community/fwupd: upgrade to 1.3.5
Diffstat (limited to 'community/fwupd/fix-no-systemd.patch')
-rw-r--r--community/fwupd/fix-no-systemd.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/community/fwupd/fix-no-systemd.patch b/community/fwupd/fix-no-systemd.patch
deleted file mode 100644
index 1c5466b05a..0000000000
--- a/community/fwupd/fix-no-systemd.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Only in fwupd-1.2.9.new: output
-diff -ru fwupd-1.2.9/src/fu-tool.c fwupd-1.2.9.new/src/fu-tool.c
---- fwupd-1.2.9/src/fu-tool.c 2019-05-20 13:17:42.000000000 +0300
-+++ fwupd-1.2.9.new/src/fu-tool.c 2019-06-07 14:50:24.112996194 +0300
-@@ -113,8 +113,10 @@
- {
- g_autoptr(GError) error_local = NULL;
-
-+#ifdef HAVE_SYSTEMD
- if (!fu_systemd_unit_stop (fu_util_get_systemd_unit (), &error_local))
- g_debug ("Failed top stop daemon: %s", error_local->message);
-+#endif
- if (!fu_engine_load (priv->engine, flags, error))
- return FALSE;
- if (fu_engine_get_tainted (priv->engine)) {
-diff -ru fwupd-1.2.9/src/fu-util-common.c fwupd-1.2.9.new/src/fu-util-common.c
---- fwupd-1.2.9/src/fu-util-common.c 2019-05-20 13:17:42.000000000 +0300
-+++ fwupd-1.2.9.new/src/fu-util-common.c 2019-06-07 14:52:03.371845913 +0300
-@@ -15,7 +15,6 @@
-
- #ifdef HAVE_SYSTEMD
- #include "fu-systemd.h"
--#endif
-
- #define SYSTEMD_FWUPD_UNIT "fwupd.service"
- #define SYSTEMD_SNAP_FWUPD_UNIT "snap.fwupd.fwupd.service"
-@@ -61,6 +60,7 @@
-
- return TRUE;
- }
-+#endif
-
- void
- fu_util_print_data (const gchar *title, const gchar *msg)
-diff -ru fwupd-1.2.9/src/fu-util.c fwupd-1.2.9.new/src/fu-util.c
---- fwupd-1.2.9/src/fu-util.c 2019-05-20 13:17:42.000000000 +0300
-+++ fwupd-1.2.9.new/src/fu-util.c 2019-06-07 14:53:13.841029263 +0300
-@@ -2122,7 +2122,11 @@
- if (!fu_util_prompt_for_boolean (FALSE))
- return TRUE;
- }
-+#ifdef HAVE_SYSTEMD
- return fu_systemd_unit_stop (fu_util_get_systemd_unit (), error);
-+#else
-+ return TRUE;
-+#endif
- }
-
- static void