Browse Source

Update adafruit-pitft.sh

st7789
Limor "Ladyada" Fried 5 years ago
committed by GitHub
parent
commit
cc513c1458
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      adafruit-pitft.sh

+ 1
- 0
adafruit-pitft.sh View File

@ -243,6 +243,7 @@ EOF
if [ "${pitfttype}" == "st7789_240x135" ]; then
dtc -@ -I dts -O dtb -o /boot/overlays/drm-minipitft114.dtbo overlays/minipitft114-overlay.dts
echo "############# UPGRADING KERNEL ###############"
sudp apt update || { warning "Apt failed to update itself!" && exit 1; }
sudo apt-get upgrade || { warning "Apt failed to install software!" && exit 1; }
apt-get install -y raspberrypi-kernel-headers 1> /dev/null || { warning "Apt failed to install software!" && exit 1; }
[ -d /lib/modules/$(uname -r)/build ] || { warning "Kernel was updated, please reboot now and re-run script!" && exit 1; }


|||||||
x
 
000:0
Loading…
Cancel
Save