Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (17 sloc) 603 Bytes
PACKAGECONFIG_append = " networkd resolved"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += " \
file://eth.network \
file://enp.network \
"
FILES_${PN} += " \
${sysconfdir}/systemd/network/eth.network \
${sysconfdir}/systemd/network/enp.network \
"
do_install_append() {
if ${@bb.utils.contains('PACKAGECONFIG','networkd','true','false',d)}; then
install -d ${D}${sysconfdir}/systemd/network
install -m 0755 ${WORKDIR}/eth.network ${D}${sysconfdir}/systemd/network
install -m 0755 ${WORKDIR}/enp.network ${D}${sysconfdir}/systemd/network
fi
}
You can’t perform that action at this time.