-------- Original-Nachricht --------
Betreff: Re: syslinux-bios v6.00 PKGBUILD
Datum: Fri, 21 Jun 2013 17:32:32 +0530
Von: Keshav Padram
An: Tobias Powalowski
On 21 June 2013 16:29, Tobias Powalowski
mailto:tobias.powalowski@googlemail.com> wrote:
Am 20.06.2013 23:05, schrieb Keshav Padram:
> Hi,
> I have attached the syslinux-bios v6.00 PKGBUILD. I have made
> AUXDIR=/usr/lib/syslinux/bios . Please check it.
>
> Best Regards.
>
> Keshav Padram
Would it be possible to ship all in one package?
Well, the problem is same as the grub pkgs. syslinux(-bios) contains
utilities which should be matching the kernel ARCH, apart from the
modules in /usr/lib/syslinux/bios (which are 32-bit irrespective of
kernel ARCH). Syslinux efi32 modules are also 32-bit (syslinux-efi32),
but efi64 modules are 64-bit ELF (similar to grub-efi-x86_64) and this
specifically requires x86_64 to build.
So there are 2 ways of building this:
1. Similar to current grub pkgs. Syslinux bios (along with the utils)
and efi32 in one split-pkgs PKGBUILD (pkgs will be marked 'x86_64' and
'i686'), and syslinux efi64 in a separate PKGBUILD like grub-efi-x86_64
(pkg marked as 'any') buildable only with x86_64 gcc
OR
2. Keep syslinux bios and utils in syslinux-bios pkg (built as 'x86_64'
and 'i686') and, efi64 and efi32 in one PKGBUILD (as one pkg
syslinux-efi marked as 'any') but can be built only in x86_64 system.
I proposed the 2nd option, where efi related stuff are in 1 pkg, and not
in 2 separate pkgs. We need to follow either one of the ways.
And syslinux-efi (tested efi64) 6.00 fails to work properly, this has
been fixed in git (2 commits after 6.00
tag) https://git.kernel.org/cgit/boot/syslinux/syslinux.git/commit/?h=firmware&id=013ef7679a573b3b3454f914f3a7f865991db9f2 and https://git.kernel.org/cgit/boot/syslinux/syslinux.git/commit/?h=firmware&id=2a81889c7d680fbe51de63dbbeb4e8c290ec46fa .
You need to include both in efi32 and efi64 compile.
I am online in irc right now. We can discuss further there.
Best Regards.
Keshav Padram