Merge remote-tracking branch 'origin/master' into buster-python3

This commit is contained in:
Alexey Rogachevskiy
2020-02-20 15:44:08 +03:00
21 changed files with 4545 additions and 54549 deletions

View File

@@ -51,6 +51,9 @@ network={
}
EOF
echo_stamp "Unblocking wireless interface"
rfkill unblock wifi
NEW_HOSTNAME=$(echo ${NEW_SSID} | tr '[:upper:]' '[:lower:]')
echo_stamp "Setting hostname to $NEW_HOSTNAME"
hostnamectl set-hostname $NEW_HOSTNAME

View File

@@ -15,7 +15,7 @@
set -e # Exit immidiately on non-zero result
SOURCE_IMAGE="https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-09-30/2019-09-26-raspbian-buster-lite.zip"
SOURCE_IMAGE="https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2020-02-14/2020-02-13-raspbian-buster-lite.zip"
export DEBIAN_FRONTEND=${DEBIAN_FRONTEND:='noninteractive'}
export LANG=${LANG:='C.UTF-8'}

View File

@@ -41,7 +41,13 @@ interface wlan0
static ip_address=192.168.11.1/24
EOF
echo_stamp "#2 Write dhcp-config to /etc/dnsmasq.conf"
echo_stamp "#2 Set wpa_supplicant country"
cat << EOF >> /etc/wpa_supplicant/wpa_supplicant.conf
country=GB
EOF
echo_stamp "#3 Write dhcp-config to /etc/dnsmasq.conf"
cat << EOF >> /etc/dnsmasq.conf
interface=wlan0
@@ -54,4 +60,4 @@ domain-needed
quiet-dhcp6
EOF
echo_stamp "#3 End of network installation"
echo_stamp "#4 End of network installation"

View File

@@ -155,6 +155,10 @@ cp -R node-v10.15.0-linux-armv6l/* /usr/local/
rm -rf node-v10.15.0-linux-armv6l/
rm node-v10.15.0-linux-armv6l.tar.gz
echo_stamp "Installing ptvsd"
my_travis_retry pip install ptvsd
my_travis_retry pip3 install ptvsd
echo_stamp "Add .vimrc"
cat << EOF > /home/pi/.vimrc
set mouse-=a

View File

@@ -12,6 +12,10 @@ python3 --version
ipython --version
ipython3 --version
# ptvsd does not have a stand-alone binary
python -m ptvsd --version
python3 -m ptvsd --version
node -v
npm -v