Settings for yocto

From Mike's wiki
Revision as of 13:24, 24 January 2023 by Mike (talk | contribs) (Created page with "=== 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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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