hoobs-org / HOOBS

Build your Smart Home with HOOBS. Connect over 2,000 Accessories to your favorite Ecosystem.
https://hoobs.org
GNU General Public License v3.0
550 stars 51 forks source link

Using "check for updates" switches to a 64-bit kernel and breaks python apps #1864

Open jlg89 opened 1 year ago

jlg89 commented 1 year ago

Description A fresh install of the HOOBS 4.3 image on a RPi4+ uses a 32-bit kernel. If you then use the "check for updates" in the HOOBS interface, the system switches to a 64-bit kernel, putting the system into a "mixed mode" that breaks some python apps, notably the Python Codecs used by Scrypted. See https://github.com/koush/scrypted/issues/678 for the result and a fix.

Version 4.3.0

Did you upgrade Please let us know if you upgraded from a previous version.

What device are you using? Please let us know the device you are running HOOBS on.

List your plugins N/A

Post your config N/A

Post your log N/A

Additional context N/A

jlg89 commented 1 year ago

You could make the image do a full 64-bit install, but I think the best option at this point would be to simply add "arm_64bit=0" to the [pi4] section of /boot/config.txt by default, since there's little advantage to running a 64-bit kernel for HOOBS.

jlg89 commented 11 months ago

The real fix, though, is to move to a full 64-bit install, even if that means keeping a 32-bit image around for awhile in case anyone needs it.