- #!/bin/bash
- echo "Prereq for openwrt build:"
- sudo apt-get update
- sudo apt-get install subversion git curl python3 gettext mercurial build-essential -y
- sudo apt-get install gettext ncurses-bin libncurses5-dev git-core zlib1g-dev libssl-dev python2.7 unzip gawk zlib1g-dev -y
- version=`lsb_release -d | grep Description |awk {'print$3'}`
- echo $version
- if [ "$version" = "20.04.5" ]
- then
- sudo apt-get install python3-distutils -y
- fi
- #wget -c https://gitlab.labs.nic.cz/turris/openwrt/uploads/0673001b14ab1d1769604ff0ce7d8781/git-version-check-fix.patch
|