Commit dfde76e9 authored by lissyx's avatar lissyx

Merge pull request #504 from fatseng/master

Bug 1245766 - Add nexusplayer-l
parents c6ca4cb5 e28d8bcc
......@@ -111,6 +111,12 @@ case "$1" in
repo_sync nexus-6-l
;;
"nexusplayer-l")
echo DEVICE=fugu >> .tmp-config &&
echo PRODUCT_NAME=aosp_fugu >> .tmp-config &&
repo_sync nexusplayer-l
;;
"nexus-s")
echo DEVICE=crespo >> .tmp-config &&
repo_sync $1
......@@ -215,6 +221,7 @@ case "$1" in
echo - nexus-5
echo - nexus-5-l
echo - nexus-6-l
echo - nexusplayer-l
echo - nexus-s
echo - nexus-s-4g
echo - flo "(Nexus 7 2013)"
......
......@@ -141,7 +141,7 @@ flash_fastboot()
"")
VERB="erase"
if [ "$DEVICE" == "hammerhead" ] || [ "$DEVICE" == "mako" ] ||
[ "$DEVICE" == "flo" ]; then
[ "$DEVICE" == "flo" ] || [ "$DEVICE" == "fugu" ]; then
VERB="format"
fi
DATA_PART_NAME="userdata"
......@@ -402,7 +402,7 @@ case "$DEVICE" in
flash_fastboot nounlock $PROJECT
;;
"panda"|"maguro"|"crespo"|"crespo4g"|"mako"|"hammerhead"|"flo"|"shamu"|"FP2")
"panda"|"maguro"|"crespo"|"crespo4g"|"mako"|"hammerhead"|"flo"|"shamu"|"FP2"|"fugu")
flash_fastboot unlock $PROJECT
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment