Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,11 @@
[Match]
Name=eth0
KernelCommandLine=bmcposition=0
[Network]
VLAN=eth0.4004
DHCP=true
LinkLocalAddressing=yes
IPv6AcceptRA=false
Address=10.9.0.1/24
[DHCP]
ClientIdentifier=mac
@@ -0,0 +1,11 @@
[Match]
Name=eth0
KernelCommandLine=bmcposition=1
[Network]
VLAN=eth0.4004
DHCP=true
LinkLocalAddressing=yes
IPv6AcceptRA=false
Address=10.9.0.2/24
[DHCP]
ClientIdentifier=mac
@@ -0,0 +1,8 @@
[Match]
Name=eth0.4004
KernelCommandLine=bmcposition=0
[Network]
LinkLocalAddressing=yes
IPv6AcceptRA=true
DHCP=no
Address=fd59:4144:524f:5441:544c:494e:3:1/122
@@ -0,0 +1,8 @@
[Match]
Name=eth0.4004
KernelCommandLine=bmcposition=1
[Network]
LinkLocalAddressing=yes
IPv6AcceptRA=true
DHCP=no
Address=fd59:4144:524f:5441:544c:494e:3:2/122
@@ -0,0 +1,5 @@
[NetDev]
Name=eth0.4004
Kind=vlan
[VLAN]
Id=4004
@@ -0,0 +1,27 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append = " \
file://00-bmc-eth0.4004.0.network \
file://00-bmc-eth0.4004.1.network \
file://00-bmc-eth0.0.network \
file://00-bmc-eth0.1.network \
file://eth0.4004.netdev \
"
do_install:append() {
install -m 0644 \
${WORKDIR}/00-bmc-eth0.4004.0.network \
${WORKDIR}/00-bmc-eth0.4004.1.network \
${WORKDIR}/00-bmc-eth0.0.network \
${WORKDIR}/00-bmc-eth0.1.network \
${WORKDIR}/eth0.4004.netdev \
-D -t ${D}${sysconfdir}/systemd/network
}
FILES:${PN}:append = " \
${sysconfdir}/systemd/network/00-bmc-eth0.4004.0.network \
${sysconfdir}/systemd/network/00-bmc-eth0.4004.1.network \
${sysconfdir}/systemd/network/00-bmc-eth0.0.network \
${sysconfdir}/systemd/network/00-bmc-eth0.1.network \
${sysconfdir}/systemd/network/eth0.4004.netdev \
"