[oe] [meta-oe][PATCH 1/3] iwd: Update to 1.4

Khem Raj raj.khem at gmail.com
Sat Feb 1 03:57:15 UTC 2020


fails on musl/aarch64

https://errors.yoctoproject.org/Errors/Details/338733/

/usr/src/debug/iwd/1.4-r0/build/../git/src/wiphy.c:503: undefined
reference to `rawmemchr'

perhaps something like this will help avoid it

https://github.com/linux-audit/audit-userspace/pull/25/commits/8f2a6788b78dd6b219545aacbd42e2f84df8c71a

On Fri, Jan 31, 2020 at 1:47 PM Robert Joslyn
<robert.joslyn at redrectangle.org> wrote:
>
> dbus is not required to compile, but is expected at run time. Move it to
> RDEPENDS.
>
> From upstream changelog:
>
> ver 1.4:
>         Fix issue with handling Crypto-Binding and invalid MACs.
>         Fix issue with handling change station error results.
>         Fix issue with handling DNS resolving installations.
>
> ver 1.3:
>         Fix issue with handling EAP-GTC and password requests.
>         Fix issue with handling Crypto-Binding TLV for PEAPv0.
>         Fix issue with handling key installation and PEAP Phase 2.
>         Fix issue with handling externally triggered scan requests.
>         Fix issue with handling RCPI calculation for RRM requests.
>
> ver 1.2:
>         Fix issue with handling scan requests while connecting.
>         Fix issue with handling scan duration for RRM requests.
>         Fix issue with handling parent TSF value for RRM requests.
>
> ver 1.1:
>         Fix issue with simple configuration support checks.
>         Fix issue with handling TLS tunnel and PEAPv0.
>         Add support for radio resource management.
>
> Signed-off-by: Robert Joslyn <robert.joslyn at redrectangle.org>
> ---
>  ...am-Avoid-redirection-of-input-and-output-fi.patch | 12 +++++-------
>  .../iwd/{iwd_1.0.bb => iwd_1.4.bb}                   |  6 ++++--
>  2 files changed, 9 insertions(+), 9 deletions(-)
>  rename meta-oe/recipes-connectivity/iwd/{iwd_1.0.bb => iwd_1.4.bb} (90%)
>
> diff --git a/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch b/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch
> index 93ef007f8..80126a870 100644
> --- a/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch
> +++ b/meta-oe/recipes-connectivity/iwd/iwd/0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch
> @@ -1,4 +1,4 @@
> -From f2a2b9f445ab1e31fbb27a74744e9a2ededfce17 Mon Sep 17 00:00:00 2001
> +From 46fc0e197598579dc05e42f137e84f86a9b926e9 Mon Sep 17 00:00:00 2001
>  From: Khem Raj <raj.khem at gmail.com>
>  Date: Mon, 4 Nov 2019 16:38:04 -0800
>  Subject: [PATCH] Makefile.am: Avoid redirection of input and output files
> @@ -15,26 +15,24 @@ make[1]: *** [Makefile:3544: monitor/iwmon.1] Error 1
>  Upstream-Status: Pending
>
>  Signed-off-by: Khem Raj <raj.khem at gmail.com>
> +
>  ---
>   Makefile.am | 5 +++--
>   1 file changed, 3 insertions(+), 2 deletions(-)
>
>  diff --git a/Makefile.am b/Makefile.am
> -index 823b7d02..1bd0005c 100644
> +index 8c69d9f4..35a25fc0 100644
>  --- a/Makefile.am
>  +++ b/Makefile.am
> -@@ -626,8 +626,9 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
> +@@ -629,8 +629,9 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
>                 < $< > $@
>
>   if RUN_RST2MAN
>  -RST2MAN_PROCESS = $(AM_V_GEN)$(RST2MAN) --strict --no-raw --no-generator \
> --                      --no-datestamp < $< > $@
> +-                      --no-datestamp $< $@
>  +RST2MAN_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
>  +                      $(AM_V_GEN)$(RST2MAN) --strict --no-raw \
>  +                      --no-generator --no-datestamp $< $@
>   else
>   RST2MAN_PROCESS = $(AM_V_GEN)test -f $@ || \
>                 { echo "Generated manual page $@ does not exist"; false; }
> ---
> -2.24.0
> -
> diff --git a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
> similarity index 90%
> rename from meta-oe/recipes-connectivity/iwd/iwd_1.0.bb
> rename to meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
> index cc34ca221..49fc45a74 100644
> --- a/meta-oe/recipes-connectivity/iwd/iwd_1.0.bb
> +++ b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb
> @@ -4,12 +4,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
>
>  inherit autotools pkgconfig systemd python3native
>
> -DEPENDS = "ell readline dbus python3-docutils-native"
> +DEPENDS = "ell readline python3-docutils-native"
>
>  SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git \
>             file://0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch \
>            "
> -SRCREV = "971e1d2038a203ad43bd2278a811a9e5ec8d52db"
> +SRCREV = "860fa4697f349da7791ecf22ca76f9ac0e5de261"
>  S = "${WORKDIR}/git"
>
>  PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> @@ -32,6 +32,8 @@ FILES_${PN} += "${datadir}/dbus-1 ${nonarch_libdir}/modules-load.d ${systemd_uni
>
>  SYSTEMD_SERVICE_${PN} = "iwd.service ${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)}"
>
> +RDEPENDS_${PN} = "dbus"
> +
>  RRECOMMENDS_${PN} = "\
>      kernel-module-pkcs7-message \
>      kernel-module-pkcs8-key-parser \
> --
> 2.24.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list