diff options
author | quic-raghuvar <quic_raghuvar@quicinc.com> | 2024-07-29 14:49:20 +0530 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-07-31 08:29:23 -0700 |
commit | 8106cfe769aa3f0ebdff7a1caed018f9ab49a090 (patch) | |
tree | 160ce8d50053b9644ffa8e5917b44ad023643614 | |
parent | 98a4af1f7809400eec58569110063434bdceea1c (diff) | |
download | meta-openembedded-8106cfe769aa3f0ebdff7a1caed018f9ab49a090.tar.gz |
android-tools-adbd.service: Change /var to /etc in ConditionPathExists
If android-tools-adbd.service service needs to be up upon boot, then the path assigned to ConditionPathExists must be present at boot time. This means that the path set to ConditionPathExists must be created at build time itself. /etc is a better place to keep files and directories that are created at build time rather than /var. /var is expected to house files that are created at run time.
Hence, change ConditionPathExists=/var/usb-debugging-enabled to ConditionPathExists=/etc/usb-debugging-enabled
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service b/meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service index ddf8d7f74e..b6661f2e39 100644 --- a/meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service +++ b/meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service | |||
@@ -1,6 +1,6 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Android Debug Bridge | 2 | Description=Android Debug Bridge |
3 | ConditionPathExists=/var/usb-debugging-enabled | 3 | ConditionPathExists=/etc/usb-debugging-enabled |
4 | Before=android-system.service | 4 | Before=android-system.service |
5 | 5 | ||
6 | [Service] | 6 | [Service] |