summaryrefslogtreecommitdiff
path: root/recipes-core/systemd/systemd_%.bbappend
blob: 8dc0fa4611eee79d6f8f2f4c76f4bca3ac3dbe69 (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"

PACKAGECONFIG[acl] = "-Dacl=true,-Dacl=false,acl"

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 ${UNPACKDIR}/rndis.network ${D}${prefix}/lib/systemd/network/
}

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