summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-core/systemd/systemd_%.bbappend
blob: 262f557e0fc9394c7aa9f00f7550df0c7fe34d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# add some configuration overrides for systemd defaults

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI += "file://0002-Add-event-log-for-system-time-synchronization.patch \
            file://0003-Added-timeout-to-systemd-networkd-wait-online.servic.patch \
           "

# We don't support loadable modules in kernel config
PACKAGECONFIG:remove = "kmod"
# Add systemd-logind service to get shutdown inhibition support
PACKAGECONFIG:append = " logind"

do_install:append() {
        sed -i -e"s/Also=systemd-networkd-wait-online.service//g" ${D}${systemd_system_unitdir}/systemd-networkd.service
}