Skip to content

Commit 4976622

Browse files
committed
utils/aosp: If no AOSP_VOL is set, create aosp volume in current home
The script should not attempt to create a folder "/vol0" in the filesystem of the host, instead the directory "~/aosp-root" is created.
1 parent 5803091 commit 4976622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/aosp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set -e
1212
AOSP_IMAGE=${AOSP_IMAGE:-kylemanna/aosp}
1313
AOSP_ARGS=${AOSP_ARGS:---rm -it}
1414

15-
AOSP_VOL=${AOSP_VOL:-/vol0}
15+
AOSP_VOL=${AOSP_VOL:-~/aosp-root}
1616
AOSP_VOL=${AOSP_VOL%/} # Trim trailing slash if needed
1717
AOSP_VOL_AOSP=${AOSP_VOL_AOSP:-$AOSP_VOL/aosp}
1818
AOSP_VOL_AOSP=${AOSP_VOL_AOSP%/} # Trim trailing slash if needed

0 commit comments

Comments
 (0)