Update libgpiod.sh

small patch to keep apt-get from failing on board-specific imports
This commit is contained in:
Limor "Ladyada" Fried 2018-12-01 14:13:05 -05:00 committed by GitHub
parent 7c17d93be4
commit 9486d2e040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@
echo "Installing build requirements - this may take a few minutes!"
echo
# install generic linux packages required
sudo apt-get update && sudo apt-get install -y \
autoconf \
autoconf-archive \
@ -21,10 +22,12 @@ sudo apt-get update && sudo apt-get install -y \
python3 \
python3-dev \
python3-setuptools \
raspberrypi-kernel-headers \
swig3.0 \
wget
# for raspberry pi we need...
sudo apt-get install -y raspberrypi-kernel-headers
build_dir=`mktemp -d /tmp/libgpiod.XXXX`
echo "Cloning libgpiod repository to $build_dir"
echo