aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-core/systemd/systemd_%.bbappend
blob: 37cb270a852fb6f15792154c9adb3a71a0644df4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FILESEXTRAPATHS_append := '${THISDIR}/${PN}:'

PACKAGECONFIG += " networkd resolved "

SRC_URI_append = "file://eth0.network"

SRC_URI_append= '${@ " \
    file://dummy0.network \
" if 'surroundview' in '${DISTRO_FEATURES}' else ""}'

FILES_${PN} += "${sysconfdir}/systemd/network/*"
 
USERADD_PARAM_${PN} += "; --system systemd-network "

do_install_append() {

    install -d ${D}${sysconfdir}/systemd/network/

    install -m 0644 ${WORKDIR}/*.network  ${D}${sysconfdir}/systemd/network/
}

PR="r2"