Systemv to Systemd - 2023.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2023-10-18
Version
2023.2 English

SYSVINIT

  • systemv (sysv) is one of the first and traditional init systems for the UNIX/Linux operating system.
  • If you are starting and stopping init services using /etc/init.d/sshd start, you Are on a SystemVinit system.

SYSTEMD

  • systemd is a new init system and service manager for Linux operating systems.
  • If you are starting and stopping things using systemctl restart sshd, you are on a SystemD system.

By default SYSTEMD enabled as init-manager for AMD Zynq™ UltraScale+™ MPSoC and AMD Versal™ platforms, SYSVINIT enabled as init-manager for Zynq and MicroBlaze™ platforms.

Note: Customers using their own init-script should modify as required to work with SYSTEMD. In old releases, it used to be SYSVINIT.

To Switch between sysv and systemd use the following config:

petalinux-config -c rootfs, select Image Features -→ Init-manager (systemd) save and exit.

Run petalinux-build.