mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
android-tools-adbd.service: Update ConditionPathExists to /etc
To ensure android-tools-adbd.service starts at boot, the path
for ConditionPathExists must be present at build time. /etc is
more suitable for build-time files than /var, which is for
runtime files. Changed ConditionPathExists from
/var/usb-debugging-enabled to /etc/usb-debugging-enabled
Backport-of: 8106cfe769 ("android-tools-adbd.service: Change /var to /etc in ConditionPathExists")
CC: Khem Raj <raj.khem@gmail.com>
CC: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Raghuvarya S <quic_raghuvar@quicinc.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
86878f61d1
commit
a795889d2f
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Android Debug Bridge
|
||||
ConditionPathExists=/var/usb-debugging-enabled
|
||||
ConditionPathExists=/etc/usb-debugging-enabled
|
||||
Before=android-system.service
|
||||
|
||||
[Service]
|
||||
|
||||
Reference in New Issue
Block a user