Settings for yocto

From Mike's wiki
Revision as of 14:40, 26 January 2023 by Mike (talk | contribs)
Jump to navigation Jump to search

Disable Systemd for a app

SYSTEMD_AUTO_ENABLE_${PN} = "disable"


OPTS="--root=$D"

systemctl $OPTS mask modutils.service

Note Disable does not work in yocto

Enable app in systemd

OPTS="--root=$D"

systemctl $OPTS enable modutils.service

Manually disable

remove the link created in /etc/systemd/system.