Recent RPi OS version aren't correctly detected #151
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Logic to detect RPi OS version has changed and should be taken in account. Notably
doesn't return "Raspbian" string any more.
Added a fix on my branch
See https://github.com/billw2/rpi-clone/pull/152 (more generic fix IMHO).
I am surprised, this is what is returned by a raspbian Bullseye :
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
RPI_CLONE never stopped working for me, also with the bullseye.
This seems to be a 32bit version (what date?)
We have to take in account 64bit of RPiOS version too. The detection logic should work for both 32bit and 64bit version.
Built very recently (january). I understand your concern about the 32/64 bits, I am not skilled enough to give my advice.
FYI it's the latest kernel (6.1), I don't know if it matters in the answer to os-release.
Thanks for all.