diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2016-05-30 15:48:50 +0800 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2016-05-31 14:53:49 -0700 |
commit | 0d92f2884fc6a9559b2794354cfa711ec09c54a3 (patch) | |
tree | e7040d2453549c3cb8bd355c8192d225d8928317 | |
parent | 419d0989ae722798e434620b41e9d0f386609ced (diff) | |
download | hikey-0d92f2884fc6a9559b2794354cfa711ec09c54a3.tar.gz |
installer/flash-all.sh: add sudo to run hisi-idt.py
so that we don't need to run flash-all.sh with sudo command
Change-Id: Ic9610dffebad2f8a5e8f08992de981bb121964ad
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-x | installer/flash-all.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/flash-all.sh b/installer/flash-all.sh index 0d71b45b..c4049e22 100755 --- a/installer/flash-all.sh +++ b/installer/flash-all.sh @@ -45,7 +45,7 @@ if [ ! -d $OUT_IMGDIR ]; then fi echo "android out dir:$OUT_IMGDIR" -python ${INSTALLER_DIR}/hisi-idt.py --img1=${INSTALLER_DIR}/l-loader.bin -d ${DEVICE_PORT} +sudo python ${INSTALLER_DIR}/hisi-idt.py --img1=${INSTALLER_DIR}/l-loader.bin -d ${DEVICE_PORT} fastboot flash ptable ${INSTALLER_DIR}/${PTABLE} fastboot flash fastboot ${INSTALLER_DIR}/fip.bin fastboot flash nvme ${INSTALLER_DIR}/nvme.img |