Nicolas Martignoni

Results 76 comments of Nicolas Martignoni

There is a misunderstanding here: I'm speaking of recent releases of **RPiOS images**. And my bad: I did not notice that your image was upgraded. For the record, upgrading an...

If you find a way to check for a version number in Debian testing release, I'd be glad to include it in this PR.

This is needed because as of RPiOS Buster (and later), the boot partition size has changed. See https://github.com/billw2/rpi-clone/blob/07f536e9d93cb5b50635415ee0fa46f498614ee4/rpi-clone#L1348-L1356 and https://github.com/billw2/rpi-clone/blob/07f536e9d93cb5b50635415ee0fa46f498614ee4/rpi-clone#L1609-L1624.

Your "fix" would not fix the bug: the problem will occur again when Debian reaches its next version after Bookworm.

> Wouldn't it make sense to test backwards and not forwards? Not sure I understand, can you elaborate?

Here are the `PRETTY_NAME`s for all Raspbian/RPiOS **supported** releases: #### 32bit PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)" PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)" PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" PRETTY_NAME="Raspbian GNU/Linux 11...

See https://github.com/billw2/rpi-clone/pull/152 (more generic fix IMHO).

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...

See also: implementation in Hugo theme [After Dark](https://git.habd.as/comfusion/after-dark/commit/eba610426a465298c815e28b8f8ed292bc581fc2?style=split).