Skip to content

Commit

Permalink
fix(Linux): Fix service user access to Android over USB (#46)
Browse files Browse the repository at this point in the history
Closes #45
  • Loading branch information
joeyparrish authored Feb 2, 2024
1 parent f4e35f6 commit 3d88b50
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shaka-lab-node/linux/debian/shaka-lab-node.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ adduser \
# Don't fail if docker is not installed.
usermod -a -G docker shaka-lab-node || true

# Grant that user access to plugdev, to be able to talk to USB-connected
# Android devices via adb.
# Don't fail if the plugdev group does not exist.
usermod -a -G plugdev shaka-lab-node || true

# Install NVM, which we don't / shouldn't bundle into the deb package.
# The location of our NVM installation.
export NVM_DIR=/opt/shaka-lab/nvm
Expand Down

0 comments on commit 3d88b50

Please sign in to comment.