Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | SUMMARY = "Connman config to ignore wired interface on qemu machines" |
| 2 | DESCRIPTION = "This is the ConnMan configuration to avoid touching wired \ |
| 3 | network interface inside qemu machines." |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 4 | LICENSE = "GPLv2" |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | PR = "r2" |
| 8 | |
| 9 | S = "${WORKDIR}" |
| 10 | |
| 11 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 12 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 13 | FILES:${PN} = "${sysconfdir}/*" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 14 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 15 | # Kernel IP-Config is perfectly capable of setting up networking passed in via ip= |
| 16 | do_install:append:qemuall() { |
| 17 | mkdir -p ${D}${sysconfdir}/default |
| 18 | echo "export EXTRA_PARAM=\"-I eth0\"" > ${D}${sysconfdir}/default/connman |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | } |