BlueOS icon indicating copy to clipboard operation
BlueOS copied to clipboard

core: move setup_ssh() over to startup_blueos_update

Open Williangalvani opened this issue 1 year ago • 2 comments

not tested.

The issue here is that the ssh setup was being done after blueos_startup_update, when commander started up. This meant it would always fail on the first boot, to succeed later on after commander ran at least once.

fix #3038

Williangalvani avatar Jan 10 '25 18:01 Williangalvani

looks sane to me. LGTM

dougsland avatar Jan 30 '25 16:01 dougsland

just rebased and re-tested by deleting the content of /home/pi/.ssh/authorized_keys on the host, and the keys on the container at /root/.config/.ssh and rebooting. everything seems in order.

Williangalvani avatar Mar 24 '25 17:03 Williangalvani

We probably need to backport this to stable since our README states the following

armv8/arm64: This is used by more recent, high-performance devices. You can run BlueOS on a Raspberry Pi 4, or in a computer with Apple Silicon.

But on PI4 blueos_startup_update cannot apply required patches to the /boot/firmware/config.txt file resulting in autopilot manager not detecting navigator board on the first boot, only after a reboot navigator will appears as a valid board.

joaomariolago avatar Sep 08 '25 13:09 joaomariolago

rebased

Williangalvani avatar Sep 19 '25 20:09 Williangalvani

Should we move this to 1.4 ?

patrickelectric avatar Oct 22 '25 19:10 patrickelectric