From: Arnout Vandecappelle <arnout@mind.be>
To: Giulio Benetti <giulio.benetti@benettiengineering.com>,
buildroot@buildroot.org
Cc: Peter Seiderer <ps.report@gmx.net>,
"Yann E . MORIN" <yann.morin.1998@free.fr>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [PATCH v2] package/util-linux: improve host build failure fix
Date: Sat, 12 Feb 2022 23:02:20 +0100 [thread overview]
Message-ID: <410007c0-2496-3a06-bb91-19f7acbef174@mind.be> (raw)
In-Reply-To: <20220203223124.3017611-1-giulio.benetti@benettiengineering.com>
On 03/02/2022 23:31, Giulio Benetti wrote:
> As suggested by Peter Seiderer package util-linux doesn't need raw support
> when built for host, so let's remove:
> HOST_UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE
> in favor of:
> HOST_UTIL_LINUX_CONF_OPTS += --disable-raw
> This is a better approach than my commit:
> https://git.buildroot.net/buildroot/commit/?id=d895bd973b35fde10d3dd7db530d9e4782926497
>
> Suggested-by: Peter Seiderer <ps.report@gmx.net>
> Tested-by: Peter Seiderer <ps.report@gmx.net>
> Reviewed-by: Peter Seiderer <ps.report@gmx.net>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> V1->V2:
> * move --disable-raw to a dedicated HOST_UTIL_LINUX_CONF_OPTS as suggested
> by Peter Seiderer. This avoid ambiguity since previously it was under the
> comment "# We also don't want the host-python dependency".
> ---
> package/util-linux/util-linux.mk | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
> index 5a4ff64d01..40fd518a58 100644
> --- a/package/util-linux/util-linux.mk
> +++ b/package/util-linux/util-linux.mk
> @@ -41,7 +41,6 @@ define UTIL_LINUX_FIX_DISK_UTILS_COMPILE
> touch $(@D)/disk-utils/raw.8
> endef
> UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE
> -HOST_UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE
>
> HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf
>
> @@ -202,6 +201,11 @@ HOST_UTIL_LINUX_CONF_OPTS += \
> --without-ncursesw \
> --without-tinfo
>
> +# Disable raw command since starting from version 2.37 needs a
> +# work-around to build but in the end we don't need at all.
> +HOST_UTIL_LINUX_CONF_OPTS += \
> + --disable-raw
> +
> ifeq ($(BR2_PACKAGE_HOST_UTIL_LINUX),y)
> HOST_UTIL_LINUX_CONF_OPTS += --disable-makeinstall-chown
> # disable commands that have ncurses dependency, as well as
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-02-12 22:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-01 23:22 [Buildroot] [URGENT 0/1] This patch is needed for host-util-linux Giulio Benetti
2022-02-01 23:22 ` [Buildroot] [URGENT 1/1] package/util-linux: fix host build failure Giulio Benetti
2022-02-01 23:25 ` Giulio Benetti
2022-02-02 7:41 ` Arnout Vandecappelle
2022-02-02 20:42 ` Peter Seiderer
2022-02-02 21:09 ` Giulio Benetti
2022-02-02 21:40 ` Peter Seiderer
2022-02-02 21:54 ` Giulio Benetti
2022-02-02 22:05 ` [Buildroot] [PATCH] package/util-linux: improve host build failure fix Giulio Benetti
2022-02-03 20:23 ` Peter Seiderer
2022-02-03 22:29 ` Giulio Benetti
2022-02-03 22:31 ` [Buildroot] [PATCH v2] " Giulio Benetti
2022-02-12 22:02 ` Arnout Vandecappelle [this message]
2022-02-02 22:10 ` [Buildroot] [URGENT 1/1] package/util-linux: fix host build failure Giulio Benetti
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=410007c0-2496-3a06-bb91-19f7acbef174@mind.be \
--to=arnout@mind.be \
--cc=buildroot@buildroot.org \
--cc=giulio.benetti@benettiengineering.com \
--cc=ps.report@gmx.net \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@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.