Skip to content

Commit d0075d0

Browse files
committed
Fallback to service ip additionally to DHCP
1 parent cad6846 commit d0075d0

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

meta-hulks/conf/distro/HULKs-OS.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ SUMMARY = "HULKs flavoured Poky"
44

55
DISTRO = "HULKs-OS"
66
DISTRO_NAME = "HULKs-OS"
7-
DISTRO_VERSION = "7.5.7"
7+
DISTRO_VERSION = "7.5.8"
88
SDKIMAGE_FEATURES:remove = "dbg-pkgs src-pkgs"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[Match]
2+
Type=ether
3+
Name=!veth*
4+
KernelCommandLine=!nfsroot
5+
KernelCommandLine=!ip
6+
7+
[Network]
8+
DHCP=yes
9+
Address=172.28.28.28/24
10+
11+
[DHCP]
12+
UseMTU=yes
13+
RouteMetric=10
14+
ClientIdentifier=mac
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2+
3+
SRC_URI += " \
4+
file://80-wired.network \
5+
"
6+
7+
FILES:${PN} += " \
8+
${sysconfdir}/systemd/network/80-wired.network \
9+
"
10+
11+
do_install:append() {
12+
install -d ${D}${sysconfdir}/systemd/network
13+
install -m 0644 ${WORKDIR}/80-wired.network ${D}${sysconfdir}/systemd/network
14+
}

0 commit comments

Comments
 (0)