Skip to content

Commit

Permalink
keep python3-rpi.gpio because we don't support Raspi5
Browse files Browse the repository at this point in the history
  • Loading branch information
JavanXD committed May 26, 2024
1 parent 7ecc1f0 commit 9d35681
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions stage-honeypi/01-install-honeypi/00-packages
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ usb-modeswitch
usb-modeswitch-data
lighttpd
php-cgi
python3-rpi.gpio
python3-smbus
python3-setuptools
python3-pip
Expand Down
12 changes: 8 additions & 4 deletions stage-honeypi/01-install-honeypi/00-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ export PIP_ROOT_USER_ACTION=ignore
python3 -m pip install --upgrade pip
"

echo 'Removing old rpi.gpio to replace it with rpi-lgpio wheel'
run_in_chroot "
apt-get -y purge python{,3}-rpi.gpio
"

echo 'Installing required Python libraries'
run_in_chroot "
Expand All @@ -135,6 +131,14 @@ pip3 install Adafruit_Python_DHT
pip3 install timezonefinder==6.1.8 numpy
"

# echo 'Removing old rpi.gpio to replace it with rpi-lgpio on Raspberry 5 with bookworm'
# run_in_chroot "
# pip3 uninstall rpi-gpio
# apt remove -y python3-rpi.gpio
# apt install -y python3-grpcio python3-grpc-tools
# pip3 install rpi-lgpio
# "

# Install configuration files
echo 'Installing configuration files'
install -m 755 files/wvdial.conf "${ROOTFS_DIR}/etc/wvdial.conf"
Expand Down

0 comments on commit 9d35681

Please sign in to comment.