From 450fb451b946dab5f05bd3fbf65f2f93a39095c9 Mon Sep 17 00:00:00 2001 From: Javan Rasokat Date: Wed, 27 Dec 2023 10:47:58 +0100 Subject: [PATCH] fixed breaking pipeline --- stage-honeypi/01-install-honeypi/00-run.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stage-honeypi/01-install-honeypi/00-run.sh b/stage-honeypi/01-install-honeypi/00-run.sh index 2f9e1b7..4358b63 100755 --- a/stage-honeypi/01-install-honeypi/00-run.sh +++ b/stage-honeypi/01-install-honeypi/00-run.sh @@ -106,14 +106,16 @@ on_chroot << EOF echo '>>> Install NTP for time synchronisation with witty Pi' dpkg-reconfigure -f noninteractive ntp +echo '>>> Upgrade pip to at least v22.3' +python3 -m pip install --upgrade pip # upgrade pip to at least v22.3 echo '>>> Install software for measurement python scripts' pip3 install -r /home/${FIRST_USER_NAME}/HoneyPi/requirements.txt --upgrade echo '>>> Install deprecated DHT library for measurement python scripts' # deprecated, but still used for Pi Zero WH because of known issues such as https://github.com/adafruit/Adafruit_CircuitPython_DHT/issues/73 - no longer working on bullseye python3 -m pip install --upgrade pip setuptools wheel # see: https://stackoverflow.com/a/72934737/6696623 -pip3 install Adafruit_DHT --install-option="--force-pi" -pip3 install Adafruit_Python_DHT --install-option="--force-pi" +pip3 install Adafruit_DHT --config-settings="--force-pi" +pip3 install Adafruit_Python_DHT --config-settings="--force-pi" echo '>>> Install software for Webinterface' lighttpd-enable-mod fastcgi