aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/systemd/systemd_%.bbappend
blob: 56e2937ce2e3b364fc042b9e72bfb10b7a80cbf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FILESEXTRAPATHS_prepend_anaconda := "${THISDIR}/files:"
SRC_URI_append_anaconda = " \
    file://0001-set-tty2-as-default-instance.patch \
"

do_install_append_anaconda() {
    # Explicitly enable tty2
    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
}