George Hung | 4054df2 | 2020-06-23 19:30:35 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend_gbs := "${THISDIR}/${PN}:" |
| 2 | SRC_URI_append_gbs = " file://00-bmc-usb0.network" |
| 3 | SRC_URI_append_gbs = " file://usb-network.conf" |
| 4 | |
| 5 | FILES_${PN}_append_gbs = " ${datadir}/usb-network/usb-network.conf" |
| 6 | FILES_${PN}_append_gbs = " ${sysconfdir_native}/systemd/network/00-bmc-usb0.network" |
| 7 | |
| 8 | do_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 | } |