Add Raspberry Pi OS (bookworm) support
ACasset opened this issue · 1 comments
Hello,
Having recently acquired an Argon Eon, I installed the latest version of Raspberry Pi OS lite (bookworm), and the script hangs on the "login through serial port" UI.
I managed to make it work by changing line 76 of the argoneon.sh script to this:
elif $(echo ${pretty_name} | grep -q -F -e 'Debian' -e 'bookworm' /etc/os-release &> /dev/null); [ $? -eq 0 ]
I know this isn't the right way to fix the issue, but my point is that by tricking the script, I was able to complete the install, and both argon-config
and argon-status
commands seem to work correctly (I never had an Argon Eon before, I don't know if there are other relevant commands).
EDIT: The argon-config
has no option for fan control nor OLED.
Is there a way you could add a clean support of the bookworm version?
For reference, the content of my /etc/os-release
file:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Maybe relying on the /etc/rpi-issue
file might help?
Raspberry Pi reference 2023-12-11
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 2acf7afcba7d11500313a7b93bb55a2aae20b2d6, stage2
The "reference" date matches the release date of the OS from the Raspberry Pi Imager.
Thanks for your work!
Already fixed in the latest kit... I match for bookworm. The real solution is to create a package...