mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-14 14:23:52 +00:00
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: 8106cfe769aa ("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>
Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
14 lines
264 B
Desktop File
14 lines
264 B
Desktop File
[Unit]
|
|
Description=Android Debug Bridge
|
|
ConditionPathExists=/etc/usb-debugging-enabled
|
|
Before=android-system.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=on-failure
|
|
ExecStartPre=-/usr/bin/android-gadget-setup adb
|
|
ExecStart=/usr/bin/adbd
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|