aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/systemd/systemd_%.bbappend
blob: d8bad532a288d662a5ccf0afd89195eb46108a75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FILESEXTRAPATHS:prepend:anaconda := "${THISDIR}/files:"
SRC_URI:append:anaconda = " \
    file://0001-set-tty2-as-default-instance.patch \
"

PACKAGECONFIG:remove:anaconda = "timesyncd"

do_install:append:anaconda() {
    # Explicitly enable tty2
    mkdir -p ${D}${sysconfdir}/systemd/system/getty.target.wants
    ln -nsf ${systemd_unitdir}/system/getty@.service \
        ${D}${sysconfdir}/systemd/system/getty.target.wants/getty@tty2.service

    rm -f ${D}${systemd_unitdir}/system/autovt@.service
}