From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Julien Olivain <ju.o@free.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/kexec: bump to version 2.0.27
Date: Sat, 23 Sep 2023 22:16:32 +0200 [thread overview]
Message-ID: <20230923201632.GD1469982@scaer> (raw)
In-Reply-To: <20230923183424.907966-1-ju.o@free.fr>
On 2023-09-23 20:34 +0200, Julien Olivain spake thusly:
> For release announce, see:
> https://lists.infradead.org/pipermail/kexec/2023-August/027830.html
>
> This new version introduced a usage of memfd_create() in [1]. This
> function was introduced in Kernel 3.17. Therefore, this commit adds
> this new dependency. This direct use of memfd_create() requires a
> glibc >= 2.27. As is, this version would no longer work with uclibc-ng
> or musl libc. This commit also adds a patch to allow compilation with
> glibc < 2.27, and also uclibc and musl. See the patch commit log for
> more details.
>
> [1] https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=714fa11590febc9cf6fd3c6309374a040a05ebb0
>
> Signed-off-by: Julien Olivain <ju.o@free.fr>
[--SNIP--]
> diff --git a/package/kexec/Config.in b/package/kexec/Config.in
> index 836d740788..3308d56b8d 100644
> --- a/package/kexec/Config.in
> +++ b/package/kexec/Config.in
> @@ -9,6 +9,7 @@ config BR2_PACKAGE_KEXEC_ARCH_SUPPORTS
> config BR2_PACKAGE_KEXEC
> bool "kexec"
> depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS
> + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd_create()
> help
> Kexec is a user space utility for loading another kernel
> and asking the currently running kernel to do something with
> @@ -25,3 +26,6 @@ config BR2_PACKAGE_KEXEC_ZLIB
> Support for compressed kernel images
>
> endif
> +
> +comment "kexec needs a toolchain w/ headers >= 3.17"
> + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
You forgot to add the dependency on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS.
Applied to master with the above fixed, thanks.
Regards,
Yann E. MORIN.
> diff --git a/package/kexec/kexec.hash b/package/kexec/kexec.hash
> index 4e16a53a35..650f0992de 100644
> --- a/package/kexec/kexec.hash
> +++ b/package/kexec/kexec.hash
> @@ -1,4 +1,4 @@
> # From https://www.kernel.org/pub/linux/utils/kernel/kexec/sha256sums.asc
> -sha256 7fe36a064101cd5c515e41b2be393dce3ca88adce59d6ee668e0af7c0c4570cd kexec-tools-2.0.26.tar.xz
> +sha256 38d78bcfa33a88928324b57dc81f50c1dfc279eede45e80957ca18f4e84b8187 kexec-tools-2.0.27.tar.xz
> # locally calculated
> sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 COPYING
> diff --git a/package/kexec/kexec.mk b/package/kexec/kexec.mk
> index 562b09012b..5d30f4884b 100644
> --- a/package/kexec/kexec.mk
> +++ b/package/kexec/kexec.mk
> @@ -4,11 +4,13 @@
> #
> ################################################################################
>
> -KEXEC_VERSION = 2.0.26
> +KEXEC_VERSION = 2.0.27
> KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.xz
> KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec
> KEXEC_LICENSE = GPL-2.0
> KEXEC_LICENSE_FILES = COPYING
> +# 0002-kexec-provide-a-memfd_create-wrapper-if-not-present-.patch
> +KEXEC_AUTORECONF = YES
> KEXEC_CPE_ID_PRODUCT = kexec-tools
> KEXEC_CPE_ID_VENDOR = kexec-tools_project
> KEXEC_SELINUX_MODULES = kdump
> --
> 2.41.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2023-09-23 20:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-23 18:34 [Buildroot] [PATCH 1/1] package/kexec: bump to version 2.0.27 Julien Olivain
2023-09-23 20:16 ` Yann E. MORIN [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230923201632.GD1469982@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=ju.o@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.