Debian Bug report logs - #832687
support uefi

Package: open-infrastructure-system-build; Maintainer for open-infrastructure-system-build is Daniel Baumann <[email protected]>; Source for open-infrastructure-system-build is src:open-infrastructure-system-tools (PTS, buildd, popcon).

Reported by: Raphaël Hertzog <[email protected]>

Date: Mon, 18 Nov 2013 09:33:02 UTC

Severity: wishlist

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#731709: grub-efi UEFI support based on debian-cd work complete (repos)
Reply-To: Michal Suchanek <[email protected]>, [email protected]
Resent-From: Michal Suchanek <[email protected]>
Resent-To: [email protected]
Resent-CC: Debian QA Group <[email protected]>
X-Loop: [email protected]
Resent-Date: Tue, 22 Mar 2016 06:21:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 731709
X-Debian-PR-Package: live-build
X-Debian-PR-Keywords: patch
X-Debian-PR-Source: live-build
Received: via spool by [email protected] id=B731709.14586275571207
          (code B ref 731709); Tue, 22 Mar 2016 06:21:01 +0000
Received: (at 731709) by bugs.debian.org; 22 Mar 2016 06:19:17 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.8 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FOURLA,FREEMAIL_FROM,HAS_BUG_NUMBER,
	MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham autolearn_force=no
	version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 30; hammy, 149; neutral, 89; spammy,
	1. spammytokens:0.987-1--sk:bolton
	hammytokens:0.000-+--HX-Google-DKIM-Signature:in-reply-to,
	0.000-+--HX-Google-DKIM-Signature:references, 0.000-+--livebuild,
	0.000-+--live-build, 0.000-+--unbootable
Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1aiFev-0000J5-Jx
	for [email protected]; Tue, 22 Mar 2016 06:19:17 +0000
Received: by mail-wm0-x22a.google.com with SMTP id p65so148646066wmp.0
        for <[email protected]>; Mon, 21 Mar 2016 23:19:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :cc:content-transfer-encoding;
        bh=/nRKgyKp6cYtlgc1RFPKzOv1m0mhopHt3+qQbn0Xyb0=;
        b=0NU927Q34vA2SnDEC87isb2oWVXia9Jfqw8FAlZkS6b+iUR35UzNLCXuUEjRd7fOln
         trbfgzAIlN6zC17Sp2lW9PMAKhDvGCh6jUYwBt0RtqetnxsOFCzLZD1kjHMbQzrKewDT
         hGv9SDBgt3sdzo0MB88DMn8pyT50kzftnWRiA+Zjt5nPQ5fX+ELPvARfPROdwvNYmZx+
         0JoImUmuoRZMohSiIKuR2QZrnnFiScGfhaIB5mxy3NirnISd3rTotT1VxsYezk9c7ffC
         bUEDeNjHcK8VP3AsuzYsRQGNow9dgN3PMpV2hKxse9JY7zv3/OlPdncQxVUCOl6uyWJB
         seLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:cc:content-transfer-encoding;
        bh=/nRKgyKp6cYtlgc1RFPKzOv1m0mhopHt3+qQbn0Xyb0=;
        b=mQyFjyfn7T6ax20YIPFh1rKraTCjZhePSM8IwITbYvle3ItQAfscRH6sBNFDi/WvKf
         bKwTy3hTSudCxVJK1Hci1b+ZvEteL28LNGDQ3yRIgaeWFWhmyfQ9pWN+m9df9IH2m6SG
         uSVFDGPTuzBJfE+AaV8r5xBNiYDvGVl2WYJeP7G9RGITtE6apaLSnSA6RZNkWhLzxLZs
         VQFM4NQPnT92g5i3V4Y7vlKLi0vZk4Mo955BZJLoiR4lY4M3nYjftgmqaZiKS4+RbKJC
         w8UgIdxSzr7b530yagW/5fsHu3gd5RlDutXJW/pXj0XFZwakKfsk3cTQ/b4kz8qZedcJ
         hI5g==
X-Gm-Message-State: AD7BkJKWVqXzyBoA06AkG+xtjM4DD+nivykOQ310qGd+u1LtNRUwszwao/RZIhCpEEQUYXF4TdrlWGHzbNZxDQ==
X-Received: by 10.195.13.16 with SMTP id eu16mr37477218wjd.140.1458627549632;
 Mon, 21 Mar 2016 23:19:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.138.167 with HTTP; Mon, 21 Mar 2016 23:18:30 -0700 (PDT)
In-Reply-To: <[email protected]>
References: <[email protected]> <[email protected]>
 <[email protected]> <CAOMqctSbV_3SKbQ--cvAoFxwhHQckhhELmGpMW5_xkxAEY2W+Q@mail.gmail.com>
 <[email protected]> <CAOMqctSProNGUNJ106QQi9rDUsFzrEpU+FCo0z9aaHpNRYoHWg@mail.gmail.com>
 <[email protected]> <CAOMqctTRZMEzF5qwVp97+yyazBY8uhq6RSXXZ5YeBoYNF2qKNg@mail.gmail.com>
 <[email protected]> <CAOMqctTK6krSjinvEd9Fdo8RuRxriMBS=c1D-LdrWdfSX1KEkA@mail.gmail.com>
 <[email protected]> <CAOMqctSGq+4JKi5ESdP58FLB+36rM4=R3hkoe792VrGiv8Divw@mail.gmail.com>
 <[email protected]>
From: Michal Suchanek <[email protected]>
Date: Tue, 22 Mar 2016 07:18:30 +0100
Message-ID: <CAOMqctTfyLD8fnSQ=vHX5McntoYz0CDU0788P4CMHjq+ObwJ3Q@mail.gmail.com>
To: adrian15 <[email protected]>
Cc: Thomas Schmitt <[email protected]>, [email protected], 
	Raphaël Hertzog <[email protected]>, 
	jnq nfe <[email protected]>, Gaudenz Steinlin <[email protected]>, hhh orb <[email protected]>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 21 March 2016 at 23:06, adrian15 <[email protected]> wrote:
> El 21/03/16 a las 22:19, Michal Suchanek escribió:
>

>> The bootloader support in live-build is limited. With your patches it
>> becomes wrong. eg. compatibility of bootloader with selected
>> filesystem and image type is only checked for first bootloader and EFI
>> support is added only when grub-efi extra bootloader but not when it
>> is the first bootloader.
>>
>> This is not fixed by renaming the variables.
>
>
> Ok. So I recognise that my patch:
>
> * Adds a limited support of UEFI only available when it's used as an extra
> bootloader
> * Does not check compatibility with selected filesystem in the extra
> bootloader because it blindly relies on selected filesystem selected in
> first bootloader being compatible with the extra bootloader too.
> * It does not work for hdd binaries (only iso binaries)
>
> and it does in addition to what live-build already did.

No, it does not.

live-build only installed bootloader which was compatible with
selected filesystem and image type which is no longer true with your
patch. In fact, if I choose grub-efi as first bootloader the efi
support is not added and compatibility of any extra bootloaders with
the filesystem chosen is not checked so the image may be completely
unbootable.

So please consider either

1) fixing your current patch so there is no primary or first
bootloader and all installed bootloaders are equal

2) don't pretend you add support for multiple bootloaders when you are
not wiling to do so and just and some option like --bolt-on-grub-efi
which installs grub-efi if image type and filesystem is compatible
with grub-efi and fails the build otherwise

BTW it has been pointed out already that -eltorito-alt-boot is just
separator that starts new boot entry so there are no special
secondary/extra bootloader options. Any bootloader can be
first/second/third/whatever.

Thanks

Michal

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:47:09 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.