summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-core
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2024-10-13 14:43:28 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-10-16 11:40:24 +0000
commitf818d656ed9de2def39840b141b153ddfa22a5ba (patch)
tree14b65b39b47177dfec1e7136b92f43105dda4813 /meta-agl-ic-container/recipes-core
parent00fd6f47a11bf6f9fc7270ce9953af4e22bbb077 (diff)
Enable cdc-ncm network configuration
Enable cdc-ncm network configuration to use momiweb in demo. This patch enable smartphone tethering capability. Bug-AGL: SPEC-5263 Change-Id: I4eec7857230a03522249a2be9a9f8bab8661aaed Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'meta-agl-ic-container/recipes-core')
-rw-r--r--meta-agl-ic-container/recipes-core/systemd/systemd-netif-config/21-usb.network6
-rw-r--r--meta-agl-ic-container/recipes-core/systemd/systemd-netif-config_0.1.bb2
2 files changed, 8 insertions, 0 deletions
diff --git a/meta-agl-ic-container/recipes-core/systemd/systemd-netif-config/21-usb.network b/meta-agl-ic-container/recipes-core/systemd/systemd-netif-config/21-usb.network
new file mode 100644
index 00000000..6426a64d
--- /dev/null
+++ b/meta-agl-ic-container/recipes-core/systemd/systemd-netif-config/21-usb.network
@@ -0,0 +1,6 @@
+[Match]
+Name=usb0
+
+[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 52e5415c..4024c278 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
@@ -7,11 +7,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
SRC_URI = " \
file://20-wired.network \
file://21-wired.network \
+ file://21-usb.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
+ install -D -m0644 ${WORKDIR}/21-usb.network ${D}${sysconfdir}/systemd/network/21-usb.network
}
PACKAGE_ARCH = "${MACHINE_ARCH}"