Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FILESEXTRAPATHS:prepend:gbs := "${THISDIR}/${PN}:"
|
||||
SRC_URI:append:gbs = " file://00-bmc-usb0.network"
|
||||
SRC_URI:append:gbs = " file://usb-network.conf"
|
||||
|
||||
FILES:${PN}:append:gbs = " ${datadir}/usb-network/usb-network.conf"
|
||||
FILES:${PN}:append:gbs = " ${sysconfdir_native}/systemd/network/00-bmc-usb0.network"
|
||||
|
||||
do_install:append:gbs() {
|
||||
install -d ${D}${sysconfdir_native}/systemd/network/
|
||||
install -m 0644 ${WORKDIR}/00-bmc-usb0.network \
|
||||
${D}${sysconfdir_native}/systemd/network
|
||||
|
||||
install -d ${D}${datadir}/usb-network
|
||||
install -m 0644 -D ${WORKDIR}/usb-network.conf \
|
||||
${D}${datadir}/usb-network
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
[Match]
|
||||
Name=usb0
|
||||
[Network]
|
||||
LinkLocalAddressing=yes
|
||||
IPv6AcceptRA=no
|
||||
@@ -0,0 +1 @@
|
||||
UDC="f0835000.udc"
|
||||
Reference in New Issue
Block a user