Add pocketchip flashing script
This commit is contained in:
parent
e5ca20eca9
commit
e74619bae5
@ -16,7 +16,7 @@ DL_DIR=".dl"
|
|||||||
##############################################################
|
##############################################################
|
||||||
# main
|
# main
|
||||||
##############################################################
|
##############################################################
|
||||||
while getopts "fdnu:" opt; do
|
while getopts "fdpnu:" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
f)
|
f)
|
||||||
echo "fastboot enabled"
|
echo "fastboot enabled"
|
||||||
@ -27,6 +27,10 @@ while getopts "fdnu:" opt; do
|
|||||||
echo "desktop selected"
|
echo "desktop selected"
|
||||||
DL_FLAVOR=desk
|
DL_FLAVOR=desk
|
||||||
;;
|
;;
|
||||||
|
p)
|
||||||
|
echo "desktop selected"
|
||||||
|
DL_FLAVOR=pocket
|
||||||
|
;;
|
||||||
n)
|
n)
|
||||||
echo "next enabled"
|
echo "next enabled"
|
||||||
DL_DIST=testing-rootfs
|
DL_DIST=testing-rootfs
|
||||||
|
Loading…
Reference in New Issue
Block a user