Skip to content

Commit 3853df1

Browse files
committed
Fix libglib2.0 dependency issue with Mijia LYWSD03MMC Input, fix wiringpi install
1 parent f1fe3ba commit 3853df1

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 8.16.2 (Unreleased)
2+
3+
### Bugfixes
4+
5+
- Fix libglib2.0 dependency issue with Mijia LYWSD03MMC Input
6+
7+
18
## 8.16.1 (2025.04.26)
29

310
This release fixes an install issue created by a dependency that resulted in an incompatible software version of another dependency.

mycodo/inputs/xiaomi_mijia_lywsd03mmc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
'options_disabled': ['interface'],
6363

6464
'dependencies_module': [
65-
('apt', 'libglib2.0', 'libglib2.0'),
65+
('apt', 'libglib2.0-0', 'libglib2.0-0'),
6666
('apt', 'bluez', 'bluez'),
6767
('apt', 'bluetooth', 'bluetooth'),
6868
('apt', 'libbluetooth-dev', 'libbluetooth-dev'),

mycodo/scripts/upgrade_commands.sh

+6-5
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ MYCODO_MAJOR_VERSION="8"
1616
# Dependency versions/URLs
1717
PIGPIO_URL="https://github.com/joan2937/pigpio/archive/v79.tar.gz"
1818
MCB2835_URL="http://www.airspayce.com/mikem/bcm2835/bcm2835-1.50.tar.gz"
19-
WIRINGPI_URL_ARMHF="https://github.com/WiringPi/WiringPi/releases/download/2.61-1/wiringpi-3.10-armhf.deb"
20-
WIRINGPI_URL_ARM64="https://github.com/WiringPi/WiringPi/releases/download/2.61-1/wiringpi-3.10-arm64.deb"
19+
WIRINGPI_URL_ARMHF="https://github.com/WiringPi/WiringPi/releases/download/3.10/wiringpi_3.10_armhf.deb"
20+
WIRINGPI_URL_ARM64="https://github.com/WiringPi/WiringPi/releases/download/3.10/wiringpi_3.10_arm64.deb"
2121

2222
INFLUXDB1_VERSION="1.8.10"
2323

@@ -691,20 +691,21 @@ case "${1:-''}" in
691691
sleep 5
692692
printf "#### Reloading mycodoflask\n"
693693
service mycodoflask reload
694+
sleep 5
694695
;;
695696
'web-server-disable')
696-
printf "\n#### Disabling service for nginx web server\n"
697+
printf "\n#### Disabling services for fronted\n"
697698
systemctl disable mycodoflask.service
698699
rm -rf /etc/systemd/system/mycodoflask.service
699700
;;
700701
'web-server-enable')
701-
printf "\n#### Enabling service for nginx web server\n"
702+
printf "\n#### Enabling services for fronted\n"
702703
ln -sf "${MYCODO_PATH}"/install/mycodoflask_nginx.conf /etc/nginx/sites-enabled/default
703704
systemctl enable nginx
704705
systemctl enable "${MYCODO_PATH}"/install/mycodoflask.service
705706
;;
706707
'web-server-update')
707-
printf "\n#### Installing and configuring nginx web server\n"
708+
printf "\n#### Reconfiguring fronted\n"
708709
/bin/bash "${MYCODO_PATH}"/mycodo/scripts/upgrade_commands.sh web-server-disable
709710
/bin/bash "${MYCODO_PATH}"/mycodo/scripts/upgrade_commands.sh web-server-enable
710711
;;

0 commit comments

Comments
 (0)