mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
connman-conf: ignore eth0 in qemu in a way that is not sysvinit-specific
(From OE-Core rev: 9e2cb139fabf302fb85c292a8848d6fb66851d07) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ed98f1a1ae
commit
89efab2850
@@ -6,6 +6,9 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;m
|
||||
|
||||
PR = "r2"
|
||||
|
||||
SRC_URI = "file://main.conf \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
@@ -14,6 +17,6 @@ FILES:${PN} = "${sysconfdir}/*"
|
||||
|
||||
# Kernel IP-Config is perfectly capable of setting up networking passed in via ip=
|
||||
do_install:append:qemuall() {
|
||||
mkdir -p ${D}${sysconfdir}/default
|
||||
echo "export EXTRA_PARAM=\"-I eth0\"" > ${D}${sysconfdir}/default/connman
|
||||
mkdir -p ${D}${sysconfdir}/connman
|
||||
cp ${S}/main.conf ${D}${sysconfdir}/connman/main.conf
|
||||
}
|
||||
|
||||
2
meta/recipes-connectivity/connman/connman-conf/main.conf
Normal file
2
meta/recipes-connectivity/connman/connman-conf/main.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
[General]
|
||||
NetworkInterfaceBlacklist = eth0
|
||||
Reference in New Issue
Block a user