aboutsummaryrefslogtreecommitdiff
path: root/rootdir/Android.mk
diff options
context:
space:
mode:
authorArian <arian.kulmer@web.de>2021-04-06 19:29:03 +0200
committerArian <arian.kulmer@web.de>2021-04-07 11:50:33 +0200
commite99db13236bc8ac3471fcb22e81178fc423679eb (patch)
treed13113be29fdb04c693b323ae6d2e58ea8d28893 /rootdir/Android.mk
parent0950b9cb5eeddcc776a656c87cdf0d97d36e961e (diff)
shinano-common: rootdir: Introduce a service to start suntrold
* suntrold is a oneshot service and spawns a subprocess which is required for the rear camera. Since [1] oneshot services' process groups are killed which prevents suntrold from working correctly. * To work this issue around create a non-oneshot service, suntrold.sh, which never exits, so that suntrold can be started from it and it's subprocesses will not be killed. [1] https://github.com/aosp-mirror/platform_system_core/commit/d89ed132a0ee1a57046286b83e64a35b71774952 [Idea of this is from LuK1337] Co-authored-by: LuK1337 <priv.luk@gmail.com> Change-Id: Id9c4f56648168f0ffe19b2bb31c591750afe6f97
Diffstat (limited to 'rootdir/Android.mk')
-rw-r--r--rootdir/Android.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/rootdir/Android.mk b/rootdir/Android.mk
index 92b8981..216a8da 100644
--- a/rootdir/Android.mk
+++ b/rootdir/Android.mk
@@ -66,6 +66,14 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
+LOCAL_MODULE := suntrold.sh
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := EXECUTABLES
+LOCAL_SRC_FILES := bin/suntrold.sh
+LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
LOCAL_MODULE := tad_static
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := EXECUTABLES