blob: b6439a15842b2059eb9e4d97a290d233556ab983 [file] [log] [blame]
George Hungdd269ed2020-06-23 19:30:35 +08001FILESEXTRAPATHS_prepend_gbs := "${THISDIR}/${PN}:"
2SRC_URI_append_gbs = " file://00-bmc-usb0.network"
3SRC_URI_append_gbs = " file://usb-network.conf"
4
5FILES_${PN}_append_gbs = " ${datadir}/usb-network/usb-network.conf"
6FILES_${PN}_append_gbs = " ${sysconfdir_native}/systemd/network/00-bmc-usb0.network"
7
8do_install_append_gbs() {
9 install -d ${D}${sysconfdir_native}/systemd/network/
10 install -m 0644 ${WORKDIR}/00-bmc-usb0.network \
11 ${D}${sysconfdir_native}/systemd/network
12
13 install -d ${D}${datadir}/usb-network
14 install -m 0644 -D ${WORKDIR}/usb-network.conf \
15 ${D}${datadir}/usb-network
16}