blob: 7959ed8e501b10f5930e3694c2c3a0e896048fbc [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Connman config to ignore wired interface on qemu machines"
2DESCRIPTION = "This is the ConnMan configuration to avoid touching wired \
3network interface inside qemu machines."
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00004LICENSE = "GPL-2.0-only"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06005LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007PR = "r2"
8
Patrick Williams58776372022-04-13 09:07:35 -05009SRC_URI = "file://main.conf \
10 "
11
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012S = "${WORKDIR}"
13
14PACKAGE_ARCH = "${MACHINE_ARCH}"
15
Andrew Geissler595f6302022-01-24 19:11:47 +000016FILES:${PN} = "${sysconfdir}/*"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017
Andrew Geissler595f6302022-01-24 19:11:47 +000018# Kernel IP-Config is perfectly capable of setting up networking passed in via ip=
19do_install:append:qemuall() {
Patrick Williams58776372022-04-13 09:07:35 -050020 mkdir -p ${D}${sysconfdir}/connman
21 cp ${S}/main.conf ${D}${sysconfdir}/connman/main.conf
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022}