Skip to content
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

Open
wants to merge 3 commits into
base: scarthgap
Choose a base branch
from

Commits on Sep 2, 2024

  1. 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: Raghuvarya S <[email protected]>
    quic-raghuvar committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    37e3695 View commit details
    Browse the repository at this point in the history
  2. 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
    Hence, change ConditionPathExists=/var/usb-debugging-enabled to ConditionPathExists=/etc/usb-debugging-enabled
    
    Signed-off-by: Raghuvarya S <[email protected]>
    quic-raghuvar committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    6855e12 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c6fe01 View commit details
    Browse the repository at this point in the history