blob: 8cd6e594bf3410f13104c90f14541c756ee8bc7f [file] [log] [blame]
Brandon Kim1e427092021-08-10 15:46:03 -07001FILESEXTRAPATHS:prepend:gbs := "${THISDIR}/${PN}:"
2SRC_URI:append:gbs = " file://00-bmc-usb0.network"
3SRC_URI:append:gbs = " file://usb-network.conf"
George Hung4054df22020-06-23 19:30:35 +08004
Brandon Kim1e427092021-08-10 15:46:03 -07005FILES:${PN}:append:gbs = " ${datadir}/usb-network/usb-network.conf"
6FILES:${PN}:append:gbs = " ${sysconfdir_native}/systemd/network/00-bmc-usb0.network"
George Hung4054df22020-06-23 19:30:35 +08007
Brandon Kim1e427092021-08-10 15:46:03 -07008do_install:append:gbs() {
George Hung4054df22020-06-23 19:30:35 +08009 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}