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’re 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 Zynq® UltraScale+™ MPSoC and Versal® platforms, SYSVINIT enabled as init-manager for Zynq UltraScale+ MPSoC 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.
Then run petalinux-build
.