summaryrefslogtreecommitdiff
path: root/recipes-core/systemd/systemd_%.bbappend
blob: 8fbdc907f761f3bcac0632d881515114b9239f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FILESEXTRAPATHS_prepend := "${THISDIR}/systemd:"

SRC_URI += " \
    file://rndis.network \
"

PACKAGECONFIG_append = " networkd"

do_install_append() {
    # The network files need to be in /usr/lib/systemd, not ${systemd_unitdir}...
    install -d ${D}${prefix}/lib/systemd/network/
    install -m 0644 ${WORKDIR}/rndis.network ${D}${prefix}/lib/systemd/network/
}

FILES_${PN} += " \
    ${nonarch_base_libdir}/systemd/network \
"