Update Flash.sh

This commit is contained in:
Reuben Talbott
2020-04-14 14:25:01 -04:00
committed by GitHub
parent 8009704108
commit b2a52c10a5

View File

@@ -39,17 +39,21 @@ read flavour
echo -e "\n Setting up environment" echo -e "\n Setting up environment"
sudo apt-get -y update sudo apt -y update
sudo apt-get install curl -y sudo apt -y install \
sudo apt-get install u-boot-tools -y
sudo apt-get -y install \
git \ git \
fastboot \ fastboot \
sunxi-tools \
u-boot-tools \ u-boot-tools \
adb \ adb \
u-boot-tools \ u-boot-tools \
android-tools-fastboot \ android-tools-fastboot \
u-boot-tools \
curl \
wget \
wget http://mirrors.kernel.org/ubuntu/pool/universe/s/sunxi-tools/sunxi-tools_1.4.1-1_amd64.deb
sudo dpkg -i sunxi-tools*.deb
sudo rm -rf sunxi-tools*.deb
echo -e "\n Adding current user to dialout group" echo -e "\n Adding current user to dialout group"
sudo usermod -a -G dialout $(logname) sudo usermod -a -G dialout $(logname)