pimoroni / boilerplate-python

Boilerplate and common files/structure for a Pimoroni Python library.
MIT License
2 stars 1 forks source link

Bookworm: Install script may be overwriting the /boot/config.txt symlink with a file #14

Open Gadgetoid opened 1 year ago

Gadgetoid commented 1 year ago

Noticed here https://forums.raspberrypi.com/viewtopic.php?t=357956

And I also ran into this.

I think something in our installer script is resolving the symlink in its input stream, but then inadvertently outputting as if it were a file. We should probably detect /boot/firmware/config.txt and write there directly, with a fallback to /boot/config.txt if it doesn't exist.