Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions recipes-core/systemd/systemd_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,6 @@ do_install:append() {
# sync time on sysinit
install -d ${D}${sysconfdir}/systemd/system/sysinit.target.wants
ln -rs ${D}${systemd_system_unitdir}/systemd-time-wait-sync.service ${D}${sysconfdir}/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service

# configure logind
# https://www.freedesktop.org/software/systemd/man/logind.conf.html
if ${@bb.utils.contains('OMNECT_RELEASE_IMAGE', '1', 'true', 'false', d)}; then
sed -i \
-e 's/^#NAutoVTs=\(.*\)$/NAutoVTs=0 /' \
-e 's/^#ReserveVT=\(.*\)$/ReserveVT=0 /' \
${D}${sysconfdir}/systemd/logind.conf
fi
}

# enable hardware watchdog as defined via variables
Expand Down
Loading