mirror of
https://github.com/stucki/docker-lineageos
synced 2025-01-23 17:51:07 -05:00
Cleanup
This commit is contained in:
parent
cab01da63c
commit
31e1dedcf5
@ -24,7 +24,7 @@ cd docker-cyanogenmod
|
|||||||
|
|
||||||
The `run.sh` script accepts the following switches:
|
The `run.sh` script accepts the following switches:
|
||||||
|
|
||||||
* -u|--enable-usb - 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 adb 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].
|
||||||
|
5
run.sh
5
run.sh
@ -11,10 +11,8 @@ TAG=cm-13.0
|
|||||||
FORCE_BUILD=0
|
FORCE_BUILD=0
|
||||||
PRIVILEGED=
|
PRIVILEGED=
|
||||||
|
|
||||||
while [[ $# > 0 ]]
|
while [[ $# > 0 ]]; do
|
||||||
do
|
|
||||||
key="$1"
|
key="$1"
|
||||||
|
|
||||||
case $key in
|
case $key in
|
||||||
-r|--rebuild)
|
-r|--rebuild)
|
||||||
FORCE_BUILD=1
|
FORCE_BUILD=1
|
||||||
@ -27,7 +25,6 @@ case $key in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# Create shared folders
|
# Create shared folders
|
||||||
|
@ -9,5 +9,4 @@ fi
|
|||||||
export USER="cmbuild"
|
export USER="cmbuild"
|
||||||
|
|
||||||
# Launch screen session
|
# Launch screen session
|
||||||
#/bin/bash --login
|
|
||||||
screen -s /bin/bash
|
screen -s /bin/bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user