tinypilot icon indicating copy to clipboard operation
tinypilot copied to clipboard

Hostname scripts are incompatible with Raspberry Pi OS Bookworm

Open cghague opened this issue 2 years ago • 1 comments

Related https://github.com/tiny-pilot/tinypilot/issues/1668

Our hostname scripts make changes to /etc/hostname directly, which is no longer sufficient nor supported on Raspberry Pi OS Bookworm. We should instead use the hostnamectl tool, or we could call the do_hostname() function in raspi-config.

cghague avatar Nov 08 '23 23:11 cghague

I'd like to go with hostnamectl if possible. raspi-config doesn't seem like they build with the expectation of third-parties depending on them.

mtlynch avatar Nov 09 '23 12:11 mtlynch