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

SRC_URI += " \
    file://rndis.network \
    file://0014-Revert-rules-remove-firmware-loading-rules.patch \
    file://0015-Revert-udev-remove-userspace-firmware-loading-suppor.patch \
"

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 \
"