-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android-tools-adbd.service: Change /var to /etc in ConditionPathExists #862
base: scarthgap
Are you sure you want to change the base?
Conversation
Missing DCO tag. |
Please format the commit message wrapping the text somewhere between 72 and 77 chars. Please fix your editor setup. |
@quic-raghuvar any updates? Or was it fire-and-forget request? |
55d526e
to
e0d5ebf
Compare
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: Raghuvarya S <[email protected]>
e0d5ebf
to
37e3695
Compare
@lumag Updated Signed-off-by in the git commit description. |
Currently commit message is 70 characters long. Commit message is getting truncated when updated to something of 76 characters, which is between 72 and 77. |
It is not, see https://github.com/openembedded/meta-openembedded/commit/37e3695eb5d56a846af123a26df86ea749a4dd52.patch |
@quic-raghuvar also the Author field is still incorrect, it contains account name instead of the full name. |
Yes. Full name is "Raghuvarya S" |
Please fix the Author of the commit. |
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 Hence, change ConditionPathExists=/var/usb-debugging-enabled to ConditionPathExists=/etc/usb-debugging-enabled Signed-off-by: Raghuvarya S <[email protected]>
@quic-raghuvar how did you end up with the merge commit again? Anyway, the author data still shows your account name rather than your full name. |
I am not sure how it ended up with a merge. Also, I have updated the author field in the github configuration as part of GH Desktop. Not sure why it isn't getting reflected here. |
Please use command line client if you are unsure in what is going on. |
Okay |
For the author part, see the 'From' here: https://github.com/openembedded/meta-openembedded/commit/6855e129ae9891b3a8dd86725083d1a08210a7c2.patch |
@quic-raghuvar I hate to say that, but please, in future, when making contributions, please take a broader look on what you are doing.
I'll send a patch fixing this. And I'm leaving all the |
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