summaryrefslogtreecommitdiff
path: root/tools/obbtool
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-10-01 12:56:59 -0700
committerKenny Root <kroot@google.com>2010-10-01 14:02:47 -0700
commit12ffd9bf4c2cc9075ea7602b4932f823ba940f80 (patch)
tree5799aa5df8bde6b1f641d704b8909d0549fd1784 /tools/obbtool
parent2942391801b79816c5eb77d7ac94c4a65f26af48 (diff)
Add "none" for vold and deprecate mkobb -c
If vold isn't told "none" for the key, it will try to mount it as an encrypted container. Also remove the -c option from mkobb since it can be triggered by including a key as well. Change-Id: I40a8ff3f778bfda682312630e6687ecc14b51844
Diffstat (limited to 'tools/obbtool')
-rwxr-xr-xtools/obbtool/mkobb.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/obbtool/mkobb.sh b/tools/obbtool/mkobb.sh
index 1987696d0bb2..ba5256f77dd7 100755
--- a/tools/obbtool/mkobb.sh
+++ b/tools/obbtool/mkobb.sh
@@ -161,11 +161,10 @@ eval set -- "$args"
while true; do \
case "$1" in
- -c) use_crypto=1; shift;;
-d) directory=$2; shift 2;;
-h) usage; exit 1;;
- -k) key=$2; shift 2;;
- -K) prompt_key=1; shift;;
+ -k) key=$2; use_crypto=1; shift 2;;
+ -K) prompt_key=1; use_crypto=1; shift;;
-v) verbose=1; shift;;
-o) filename=$2; shift 2;;
--) shift; break;;