From: Carlos Santos <casantos@datacom.ind.br>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] syslinux: Use the host compiler to build extlinux
Date: Fri, 13 Oct 2017 12:10:51 -0300 (BRT) [thread overview]
Message-ID: <396328543.13503256.1507907451899.JavaMail.zimbra@datacom.ind.br> (raw)
In-Reply-To: <1749064856.11956839.1506976599871.JavaMail.zimbra@datacom.ind.br>
> From: "Carlos Santos" <casantos@datacom.ind.br>
> To: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com>
> Cc: "Beno?t Allard" <benoit.allard@greenbone.net>, buildroot at buildroot.org
> Sent: Monday, October 2, 2017 5:36:39 PM
> Subject: Re: [Buildroot] [PATCH v2] syslinux: Use the host compiler to build extlinux
>> From: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com>
>> To: "Carlos Santos" <casantos@datacom.ind.br>
>> Cc: buildroot at buildroot.org, "Beno?t Allard" <benoit.allard@greenbone.net>
>> Sent: Monday, October 2, 2017 4:15:47 PM
>> Subject: Re: [Buildroot] [PATCH v2] syslinux: Use the host compiler to build
>> extlinux
>
>> Hello,
>>
>> On Sat, 30 Sep 2017 20:35:20 -0300, Carlos Santos wrote:
>>> Like the utilities, it is meant to run on the host machine, hence must
>>> be built using the host toolchain.
>>>
>>> Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
>>
>> It is not entirely clear if everybody agrees that "extlinux" is a host
>> or a target program.
>>
>> Beno?t Allard, who used to work on the syslinux package in Buildroot
>> wrote in http://www.syslinux.org/archives/2017-April/025755.html:
>>
>> """
>> 1. utilities required during the build (prepcore)
>> 2. utilities meant to be run in the target operating-system (isohybrid,
>> memdisk, the extlinux installer, ...)
>> 3. utilities used to boot the operating system
>> """
>>
>> So he was considering the extlinux installer as a program for the
>> target.
>>
>> A few years earlier, another person on the Buildroot mailing list, also
>> wanted to have the extlinux installer on the target:
>> http://buildroot-busybox.2317881.n4.nabble.com/syslinux-on-target-td81294.html.
>>
>> So, I'm not sure. Perhaps we need a host-syslinux package to install
>> those utilities ?
>>
>> Or perhaps I'm being too complicated here, we should just merge your
>> patch, and adjusts when/if someone complains ?
>
> Well, there is a chicken-egg problem here because extlinux is a boot
> loader so you must have it installed on the target partition in order to
> be able to boot.
>
> On embedded systems this made on the host machine, manipulating the
> disk image (which was exactly the problem I had when I needed to use
> extlinux).
Quick follow-up.
Commit 8e0d4118982ae5a29e462f0a476d82772459cf5c moved the helper programs
to the host and 8e0d4118982ae5a29e462f0a476d82772459cf5c removed the host
variant of the package, so looks like the original goal was to make
extlinux a host utility, since it is installed at $(HOST_DIR)/sbin/.
--
Carlos Santos (Casantos) - DATACOM, P&D
?The greatest triumph that modern PR can offer is the transcendent
success of having your words and actions judged by your reputation,
rather than the other way about.? ? Christopher Hitchens
next prev parent reply other threads:[~2017-10-13 15:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-30 23:13 [Buildroot] [PATCH] syslinux: Use the host compiler to build extlinux Carlos Santos
2017-09-30 23:35 ` [Buildroot] [PATCH v2] " Carlos Santos
2017-10-02 19:15 ` Thomas Petazzoni
2017-10-02 20:36 ` Carlos Santos
2017-10-13 15:10 ` Carlos Santos [this message]
2018-04-01 15:48 ` Thomas Petazzoni
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=396328543.13503256.1507907451899.JavaMail.zimbra@datacom.ind.br \
--to=casantos@datacom.ind.br \
--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