mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 18:56:18 +00:00
63ed9e53ea
* Fix endress CEC mini kb service start when it failed * Retry to (re)start 3 times during 20 sec * Revert "Retry to (re)start 3 times during 20 sec" This reverts commit f4d2136a8548cfd5d8698e6106f5d5e4dea1bf6e.
35 lines
870 B
Diff
35 lines
870 B
Diff
diff --git a/Makefile.common b/Makefile.common
|
|
index 2a715f4786..cd2f49518b 100644
|
|
--- a/Makefile.common
|
|
+++ b/Makefile.common
|
|
@@ -788,6 +788,7 @@ endif
|
|
ifeq ($(HAVE_LAKKA), 1)
|
|
OBJ += network/drivers_wifi/connmanctl.o
|
|
OBJ += misc/cpufreq/cpufreq.o
|
|
+ LIBS += -lsystemd
|
|
endif
|
|
|
|
ifeq ($(HAVE_WIFI), 1)
|
|
diff --git a/retroarch.c b/retroarch.c
|
|
index 8137c2e358..3c766dd6cb 100644
|
|
--- a/retroarch.c
|
|
+++ b/retroarch.c
|
|
@@ -215,6 +215,7 @@
|
|
|
|
#ifdef HAVE_LAKKA
|
|
#include "lakka.h"
|
|
+#include <systemd/sd-daemon.h>
|
|
#endif
|
|
|
|
#define _PSUPP(var, name, desc) printf(" %s:\n\t\t%s: %s\n", name, desc, var ? "yes" : "no")
|
|
@@ -5933,6 +5934,9 @@ int rarch_main(int argc, char *argv[], void *data)
|
|
#if HAVE_CLOUDSYNC
|
|
task_push_cloud_sync();
|
|
#endif
|
|
+#ifdef HAVE_LAKKA
|
|
+ sd_notify(0, "READY=1");
|
|
+#endif
|
|
#if !defined(HAVE_MAIN) || defined(HAVE_QT)
|
|
for (;;)
|
|
{
|