BlueOS icon indicating copy to clipboard operation
BlueOS copied to clipboard

install: remove dependence on `pi` user

Open ES-Alexander opened this issue 3 years ago • 3 comments

Raised in #1072, and relevant because:

  • not every OS has pi as the default user (e.g. Ubuntu)
  • support for non-Raspberry Pi boards will likely require support for alternative user names

Should either:

  • change script to use $USER or $USERNAME instead of pi, or
  • set a target_user variable (or similar) at the top which defaults to pi (or $USER) and allows specifying something else with a command-line argument

ES-Alexander avatar Jul 13 '22 19:07 ES-Alexander

The Raspberry Pi foundation has announced they are dropping pi as the default user, and that there will no longer be any default username. So this issue will soon become more urgent as people start using the newer images.

Jollerprutt avatar Sep 04 '22 20:09 Jollerprutt

Will also need to change commonwealth

ES-Alexander avatar Jun 16 '23 02:06 ES-Alexander

support for non-Raspberry Pi boards...

Case in point.

ES-Alexander avatar Oct 02 '25 13:10 ES-Alexander