[oe] [meta-oe][PATCH 3/3] iwd: add version 0.12

Peter Kjellerstedt peter.kjellerstedt at axis.com
Wed Nov 21 10:35:49 UTC 2018


> -----Original Message-----
> From: openembedded-devel-bounces at lists.openembedded.org <openembedded-
> devel-bounces at lists.openembedded.org> On Behalf Of Martin Hundebøll
> Sent: den 21 november 2018 09:10
> To: openembedded-devel at lists.openembedded.org
> Subject: [oe] [meta-oe][PATCH 3/3] iwd: add version 0.12
> 
> The iwd wireless daemon is an alternative to wpa_supplicant. It is
> controlled using the iwctl command line client (or the dbus interface).
> 
> Signed-off-by: Martin Hundebøll <martin at geanix.com>
> ---
>  meta-oe/recipes-connectivity/iwd/iwd_0.12.bb | 24 ++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 meta-oe/recipes-connectivity/iwd/iwd_0.12.bb
> 
> diff --git a/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb b/meta-
> oe/recipes-connectivity/iwd/iwd_0.12.bb
> new file mode 100644
> index 000000000..a4261547e
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "Wireless daemon for Linux"
> +LICENSE = "LGPL-2.1"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
> +
> +inherit autotools pkgconfig systemd
> +
> +DEPENDS = "ell readline dbus"

Given that the readline library is GPLv3, it is probably a good idea 
to be able to disable the part that uses it. I.e., something like:

PACKAGECONFIG[client] = "--enable-client, --disable-client, readline,"

and add "client" to PACKAGECONFIG by default.

> +
> +SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git"
> +SRCREV = "d7609915db4b57229f7dd4c04b4eabcce637872a"
> +S = "${WORKDIR}/git"
> +
> +SYSTEMD_SERVICE_${PN} = "iwd.service"
> +
> +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> +PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd"
> +
> +EXTRA_OECONF += "--enable-external-ell"
> +
> +do_configure_prepend () {
> +    mkdir -p ${S}/build-aux
> +}
> +
> +FILES_${PN} += "${datadir}/dbus-1"
> --
> 2.19.1

//Peter



More information about the Openembedded-devel mailing list