From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/5] package/pseudo: enforce the host bitness
Date: Wed, 9 Nov 2016 22:27:04 +0100 [thread overview]
Message-ID: <20161109222704.1c71c152@free-electrons.com> (raw)
In-Reply-To: <a2d0f2c0a262a2a40e8ccc1f3c0d89fdb834af39.1478643505.git.yann.morin.1998@free.fr>
Hello,
On Tue, 8 Nov 2016 23:18:31 +0100, Yann E. MORIN wrote:
> pseudo can detect the host bitness, but is not sure about it: it checks
> what type of file /bin/sh is, using file(1).
>
> However, in some conditions, /bin/sh can be of a different bitness than
> the rest of the system (weird, but not impossible), which causes build
> issues.
>
> Just enforce the bitness, so that pseudo needs not (wrongly) guess it.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
> Cc: Patrick Keroulas <patrick.keroulas@savoirfairelinux.com>
> Cc: Erico Nunes <nunes.erico@gmail.com>
> Cc: Julien BOIBESSOT <julien.boibessot@free.fr>
> Cc: Arnout Vandecappelle <arnout@mind.be>
>
> ---
> Changes v1 -> v2:
> - directly extract bitness for $(HOSTARCH) (Arnout)
> ---
> package/pseudo/pseudo.mk | 1 +
> 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-11-09 21:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-08 22:18 [Buildroot] [PATCH 0/5 v2] package/pseudo: fix build and better mimic fakeroot Yann E. MORIN
2016-11-08 22:18 ` [Buildroot] [PATCH 1/5] package/pseudo: enforce the host bitness Yann E. MORIN
2016-11-09 0:25 ` Arnout Vandecappelle
2016-11-09 21:27 ` Thomas Petazzoni [this message]
2016-11-08 22:18 ` [Buildroot] [PATCH 2/5] package/pseudo: force rpath and pass our host CFLAGS Yann E. MORIN
2016-11-09 22:29 ` Thomas Petazzoni
2016-11-08 22:18 ` [Buildroot] [PATCH 3/5] package/pseudo: wrap the real pseudo with a wrapper Yann E. MORIN
2016-11-09 0:27 ` Arnout Vandecappelle
2016-11-09 22:31 ` Thomas Petazzoni
2016-11-08 22:18 ` [Buildroot] [PATCH 4/5] fs: call the pseudo wrapper Yann E. MORIN
2016-11-09 0:28 ` Arnout Vandecappelle
2016-11-08 22:18 ` [Buildroot] [PATCH 5/5] package/pseudo: provide better legacy handling for fakeroot Yann E. MORIN
2016-11-09 0:29 ` Arnout Vandecappelle
2016-11-09 22:07 ` Yann E. MORIN
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=20161109222704.1c71c152@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox