From 49984d7a21632746e0117c31efa3e23a3edf1cd8 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 17 Feb 2017 20:14:19 +0100 Subject: [PATCH] [Fixed] `build` before `install` for SPI-py --- clone/utility/sats-boot | 1 + 1 file changed, 1 insertion(+) diff --git a/clone/utility/sats-boot b/clone/utility/sats-boot index b7cffce..186890a 100644 --- a/clone/utility/sats-boot +++ b/clone/utility/sats-boot @@ -44,6 +44,7 @@ if [ -e /home/pi/first_boot ]; then # (3) Clone SPI python library # sudo git clone https://github.com/lthiery/SPI-Py.git /home/pi/spi-lib; + sudo python /home/pi/spi-lib/setup.py build; sudo python /home/pi/spi-lib/setup.py install; # (4) Reboot to activate SPI #