mirror of
https://github.com/stucki/docker-lineageos
synced 2025-01-09 17:39:47 -05:00
removed workaround, changed switch from -p to -u (--enable-usb)
This commit is contained in:
parent
0abac4367c
commit
26d309fe96
@ -24,7 +24,7 @@ cd docker-cyanogenmod
|
|||||||
|
|
||||||
The `run.sh` script accepts the following switches:
|
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
|
* -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].
|
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
2
run.sh
@ -19,7 +19,7 @@ case $key in
|
|||||||
-r|--rebuild)
|
-r|--rebuild)
|
||||||
FORCE_BUILD=1
|
FORCE_BUILD=1
|
||||||
;;
|
;;
|
||||||
-p|--privileged)
|
-u|--enable-usb)
|
||||||
PRIVILEGED="--privileged -v /dev/bus/usb:/dev/bus/usb"
|
PRIVILEGED="--privileged -v /dev/bus/usb:/dev/bus/usb"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -10,4 +10,4 @@ export USER="cmbuild"
|
|||||||
|
|
||||||
# Launch screen session
|
# Launch screen session
|
||||||
#/bin/bash --login
|
#/bin/bash --login
|
||||||
script -qc "screen -s /bin/bash" /dev/null
|
screen -s /bin/bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user