[arch-dev-public] Fwd: Re: syslinux-bios v6.00 PKGBUILD

Tobias Powalowski tobias.powalowski at googlemail.com
Fri Jun 21 10:20:41 EDT 2013

-------- Original-Nachricht --------
Betreff: 	Re: syslinux-bios v6.00 PKGBUILD
Datum: 	Fri, 21 Jun 2013 17:32:32 +0530
Von: 	Keshav Padram <the.ridikulus.rat at gmail.com>
An: 	Tobias Powalowski <tobias.powalowski at googlemail.com>

On 21 June 2013 16:29, Tobias Powalowski
<tobias.powalowski at googlemail.com
<mailto:tobias.powalowski at 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


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20130621/15c39121/attachment.asc>

More information about the arch-dev-public mailing list