PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.5k stars 13.51k forks source link

Raspberry Pi targets does not generate posix init scripts #20976

Open christianrauch opened 1 year ago

christianrauch commented 1 year ago

Describe the bug

Raspberry Pi targets (px4_raspberrypi_default, scumaker_pilotpi_default, emlid_navio2_default) do not generate init scripts in init.d-posix.

To Reproduce

Steps to reproduce the behavior:

  1. make px4_raspberrypi_default
  2. ls build/px4_raspberrypi_default/etc/
  3. the folder init.d-posix is missing

Expected behavior

According to https://docs.px4.io/main/en/concept/system_startup.html, posix systems should have a init.d-posix/rcS.

dagar commented 1 year ago

Historically it was using the simple init here (https://github.com/PX4/PX4-Autopilot/tree/main/posix-configs/rpi), but maybe it's time we unify with POSIX SITL.