1
0
mirror of https://github.com/stucki/docker-lineageos synced 2024-12-19 17:12:29 -05:00

removed workaround, changed switch from -p to -u (--enable-usb)

This commit is contained in:
Budleigh Salterton driving a Miura 2016-04-04 19:00:56 +02:00
parent 0abac4367c
commit 26d309fe96
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ cd docker-cyanogenmod
The `run.sh` script accepts the following switches:
* -p|--privileged - runs the container in privileged mode (this way you can use usb debugging right from the container)
* -u|--enable-usb - runs the container in privileged mode (this way you can use usb debugging right from the container)
* -r|--rebuild - force rebuild the image from scratch
The container uses "screen" to run the shell. This means that you will be able to open additional shells using [screen keyboard shortcuts][Screen_Shortcuts].

2
run.sh
View File

@ -19,7 +19,7 @@ case $key in
-r|--rebuild)
FORCE_BUILD=1
;;
-p|--privileged)
-u|--enable-usb)
PRIVILEGED="--privileged -v /dev/bus/usb:/dev/bus/usb"
;;
*)

View File

@ -10,4 +10,4 @@ export USER="cmbuild"
# Launch screen session
#/bin/bash --login
script -qc "screen -s /bin/bash" /dev/null
screen -s /bin/bash