diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2024-06-02 11:56:07 +0900 |
---|---|---|
committer | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2024-06-02 17:38:46 +0900 |
commit | 6224ef6288ca0c51f5292181b4b10d6684cc49d8 (patch) | |
tree | da3892eecee07f8686972e9b21bf04726d9e54d7 /meta-agl-ic-container/recipes-core/systemd | |
parent | fa15a8e9f2825a92a6d153ac420ef58a3187f109 (diff) |
Add additional network configuration for end0
After the scarthgap update, a eth0 device force rename to end0 in boot time.
This patch fix loss capability for network IP configuration by systemd-networkd.
Bug-AGL: SPEC-5158
Change-Id: I483845f475472c0a12c17f81ccc5bc22a9f9e65e
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'meta-agl-ic-container/recipes-core/systemd')
-rw-r--r-- | meta-agl-ic-container/recipes-core/systemd/systemd-netif-config/21-wired.network | 6 | ||||
-rw-r--r-- | meta-agl-ic-container/recipes-core/systemd/systemd-netif-config_0.1.bb | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/meta-agl-ic-container/recipes-core/systemd/systemd-netif-config/21-wired.network b/meta-agl-ic-container/recipes-core/systemd/systemd-netif-config/21-wired.network new file mode 100644 index 00000000..41ff7735 --- /dev/null +++ b/meta-agl-ic-container/recipes-core/systemd/systemd-netif-config/21-wired.network @@ -0,0 +1,6 @@ +[Match] +Name=end0 + +[Network] +DHCP=ipv4 + diff --git a/meta-agl-ic-container/recipes-core/systemd/systemd-netif-config_0.1.bb b/meta-agl-ic-container/recipes-core/systemd/systemd-netif-config_0.1.bb index 0714f62b..52e5415c 100644 --- a/meta-agl-ic-container/recipes-core/systemd/systemd-netif-config_0.1.bb +++ b/meta-agl-ic-container/recipes-core/systemd/systemd-netif-config_0.1.bb @@ -6,10 +6,12 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 SRC_URI = " \ file://20-wired.network \ + file://21-wired.network \ " do_install() { install -D -m0644 ${WORKDIR}/20-wired.network ${D}${sysconfdir}/systemd/network/20-wired.network + install -D -m0644 ${WORKDIR}/21-wired.network ${D}${sysconfdir}/systemd/network/21-wired.network } PACKAGE_ARCH = "${MACHINE_ARCH}" |