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: Fix inconsistency between selinux configurations #866

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

Commits on Sep 2, 2024

  1. android-tools: Fix inconsistency between selinux configurations

    ConditionPathExists is set to /etc/usb-debugging-enabled as part of meta-oe/
    recipes-devtools/android-tools/android-tools/android-tools-adbd.service file.
    However, in meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/
    android-tools/android-tools-adbd.service file ConditionPathExists is set to
    /var/usb-debugging-enabled
    
    This causes an internal inconsistency between selinux-enabled and -disabled
    configurations.
    
    Hence, change ConditionPathExists=/var/usb-debugging-enabled to
    ConditionPathExists=/etc/usb-debugging-enabled
    
    Reported-by: Dmitry Baryshkov <[email protected]>
    
    Signed-off-by: Raghuvarya S <[email protected]>
    quic-raghuvar committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    75c3590 View commit details
    Browse the repository at this point in the history
  2. android-tools: Fix inconsistency between selinux configurations

    ConditionPathExists is set to /etc/usb-debugging-enabled as part of meta-oe/
    recipes-devtools/android-tools/android-tools/android-tools-adbd.service file.
    However, in meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/
    android-tools/android-tools-adbd.service file ConditionPathExists is set to
    /var/usb-debugging-enabled
    
    This causes an internal inconsistency between selinux-enabled and -disabled
    configurations.
    
    Hence, change ConditionPathExists=/var/usb-debugging-enabled to
    ConditionPathExists=/etc/usb-debugging-enabled
    
    Reported-by: Dmitry Baryshkov <[email protected]>
    Signed-off-by: Raghuvarya S <[email protected]>
    quic-raghuvar committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    4d873f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d0112b9 View commit details
    Browse the repository at this point in the history