Settings for yocto: Difference between revisions
Jump to navigation
Jump to search
(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") |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 13: | Line 13: | ||
systemctl $OPTS enable modutils.service | systemctl $OPTS enable modutils.service | ||
=== Manually disable === | |||
remove the link created in /etc/systemd/system.<pre> | |||
do_install_append() { | |||
rm -rf ${D}${sysconfdir}/systemd/system/sysinit.target.wants/systemd-timesyncd.service | |||
} | |||
</pre> | |||
Latest revision as of 14:42, 26 January 2023
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.
do_install_append() {
rm -rf ${D}${sysconfdir}/systemd/system/sysinit.target.wants/systemd-timesyncd.service
}