public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/1]: profiles/use.desc: add efi global use flag
@ 2023-07-14  8:53 Andrew Ammerlaan
  2023-07-14  9:05 ` David Seifert
  2023-07-14  9:07 ` Sam James
  0 siblings, 2 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2023-07-14  8:53 UTC (permalink / raw
  To: gentoo-dev

Hi all,

Currently we have 7 packages defining the efi flag and an additional 2 
defining the uefi flag. These flags do the same thing, add support for 
(U)EFI booting. I therefore propose we introduce efi as a new global 
flag and later rename the uefi flag to efi in sys-apps/fwupd and 
sys-apps/ipmicfg.

I don't have a strong preference between the efi or uefi flags, but 
since a majority of the packages has chosen efi I suggest we go with that.

Best regards,
Andrew


 From 737eb5d8509b088f7689d417375c00773c131042 Mon Sep 17 00:00:00 2001
From: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Date: Fri, 14 Jul 2023 10:47:55 +0200
Subject: [PATCH 14/14] profiles/use.desc: add efi global use flag

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
---
  profiles/use.desc | 1 +
  1 file changed, 1 insertion(+)

diff --git a/profiles/use.desc b/profiles/use.desc
index df2115388949..ed600244f273 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -70,6 +70,7 @@ dvb - Add support for DVB (Digital Video Broadcasting)
  dvd - Add support for DVDs
  dvdr - Add support for DVD writer hardware (e.g. in xcdroast)
  eds - Enable support for Evolution-Data-Server (EDS)
+efi - Enable support the (Unified) Extensible Firmware Interface
  elogind - Enable session tracking via sys-auth/elogind
  emacs - Add support for GNU Emacs
  emboss - Add support for the European Molecular Biology Open Software 
Suite
-- 
2.41.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] [PATCH 1/1]: profiles/use.desc: add efi global use flag
  2023-07-14  8:53 [gentoo-dev] [PATCH 1/1]: profiles/use.desc: add efi global use flag Andrew Ammerlaan
@ 2023-07-14  9:05 ` David Seifert
  2023-07-14  9:11   ` Andrew Ammerlaan
  2023-07-14  9:07 ` Sam James
  1 sibling, 1 reply; 6+ messages in thread
From: David Seifert @ 2023-07-14  9:05 UTC (permalink / raw
  To: gentoo-dev

On Thu, 1970-01-01 at 00:00 +0000, Andrew Ammerlaan wrote:
> Hi all,
> 
> Currently we have 7 packages defining the efi flag and an additional 2
> defining the uefi flag. These flags do the same thing, add support for
> (U)EFI booting. I therefore propose we introduce efi as a new global 
> flag and later rename the uefi flag to efi in sys-apps/fwupd and 
> sys-apps/ipmicfg.
> 
> I don't have a strong preference between the efi or uefi flags, but 
> since a majority of the packages has chosen efi I suggest we go with
> that.
> 
> Best regards,
> Andrew
> 
> 
>  From 737eb5d8509b088f7689d417375c00773c131042 Mon Sep 17 00:00:00
> 2001
> From: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
> Date: Fri, 14 Jul 2023 10:47:55 +0200
> Subject: [PATCH 14/14] profiles/use.desc: add efi global use flag
> 
> Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
> ---
>   profiles/use.desc | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/profiles/use.desc b/profiles/use.desc
> index df2115388949..ed600244f273 100644
> --- a/profiles/use.desc
> +++ b/profiles/use.desc
> @@ -70,6 +70,7 @@ dvb - Add support for DVB (Digital Video
> Broadcasting)
>   dvd - Add support for DVDs
>   dvdr - Add support for DVD writer hardware (e.g. in xcdroast)
>   eds - Enable support for Evolution-Data-Server (EDS)
> +efi - Enable support the (Unified) Extensible Firmware Interface
>   elogind - Enable session tracking via sys-auth/elogind
>   emacs - Add support for GNU Emacs
>   emboss - Add support for the European Molecular Biology Open
> Software 
> Suite

Please switch to "uefi". UEFI is the forward going name and more aligned
with how it's used commonly. It's called the "UEFI forum" that writes
the UEFI spec and it's on uefi.org. A GPU needs a UEFI GOP to
initialise.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] [PATCH 1/1]: profiles/use.desc: add efi global use flag
  2023-07-14  8:53 [gentoo-dev] [PATCH 1/1]: profiles/use.desc: add efi global use flag Andrew Ammerlaan
  2023-07-14  9:05 ` David Seifert
@ 2023-07-14  9:07 ` Sam James
  2023-07-14 17:11   ` Mike Gilbert
  1 sibling, 1 reply; 6+ messages in thread
From: Sam James @ 2023-07-14  9:07 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]


Andrew Ammerlaan <andrewammerlaan@gentoo.org> writes:

> Hi all,
>
> Currently we have 7 packages defining the efi flag and an additional 2
> defining the uefi flag. These flags do the same thing, add support for
> (U)EFI booting. I therefore propose we introduce efi as a new global
> flag and later rename the uefi flag to efi in sys-apps/fwupd and
> sys-apps/ipmicfg.
>
> I don't have a strong preference between the efi or uefi flags, but
> since a majority of the packages has chosen efi I suggest we go with
> that.

Let's do USE=uefi please - UEFI is the modern name for it, and EFI is
legacy. I'd like to avoid another USE=ssl situation (where we're
stuck with it forever given we have no mechanism for USE flag renames,
despite the fact that it's really TLS now).

thanks,
sam

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 377 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] [PATCH 1/1]: profiles/use.desc: add efi global use flag
  2023-07-14  9:05 ` David Seifert
@ 2023-07-14  9:11   ` Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2023-07-14  9:11 UTC (permalink / raw
  To: gentoo-dev

On 14/07/2023 11:05, David Seifert wrote:
> On Thu, 1970-01-01 at 00:00 +0000, Andrew Ammerlaan wrote:
>> Hi all,
>>
>> Currently we have 7 packages defining the efi flag and an additional 2
>> defining the uefi flag. These flags do the same thing, add support for
>> (U)EFI booting. I therefore propose we introduce efi as a new global
>> flag and later rename the uefi flag to efi in sys-apps/fwupd and
>> sys-apps/ipmicfg.
>>
>> I don't have a strong preference between the efi or uefi flags, but
>> since a majority of the packages has chosen efi I suggest we go with
>> that.
>>
>> Best regards,
>> Andrew
> 
> Please switch to "uefi". UEFI is the forward going name and more aligned
> with how it's used commonly. It's called the "UEFI forum" that writes
> the UEFI spec and it's on uefi.org. A GPU needs a UEFI GOP to
> initialise.
> 

Alright, that's fine by me. The list of packages that needs renaming of 
the use flag then becomes:
- app-emulation/xen
- sys-block/perccli
- sys-block/sas2ircu
- sys-block/sas3flash
- sys-block/sas3ircu
- sys-boot/syslinux
- sys-firmware/ipxe

 From 681c82d6bc415b9d9f25077e0c32f629cd9a42ec Mon Sep 17 00:00:00 2001
From: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Date: Fri, 14 Jul 2023 10:47:55 +0200
Subject: [PATCH] profiles/use.desc: add uefi global use flag

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
---
  profiles/use.desc | 1 +
  1 file changed, 1 insertion(+)

diff --git a/profiles/use.desc b/profiles/use.desc
index df2115388949..6034f3bf6fc3 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -328,6 +328,7 @@ tk - Add support for Tk GUI toolkit
  truetype - Add support for FreeType and/or FreeType2 fonts
  udev - Enable virtual/udev integration (device discovery, power and 
storage device support, etc)
  udisks - Enable storage management support (automounting, volume 
monitoring, etc)
+uefi - Enable support for the Unified Extensible Firmware Interface
  unicode - Add support for Unicode
  unwind - Add support for call stack unwinding and function name resolution
  upnp - Enable UPnP port mapping support
-- 
2.41.0




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] [PATCH 1/1]: profiles/use.desc: add efi global use flag
  2023-07-14  9:07 ` Sam James
@ 2023-07-14 17:11   ` Mike Gilbert
  2023-07-14 18:21     ` Andrew Ammerlaan
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Gilbert @ 2023-07-14 17:11 UTC (permalink / raw
  To: gentoo-dev

On Fri, Jul 14, 2023 at 5:07 AM Sam James <sam@gentoo.org> wrote:
>
>
> Andrew Ammerlaan <andrewammerlaan@gentoo.org> writes:
>
> > Hi all,
> >
> > Currently we have 7 packages defining the efi flag and an additional 2
> > defining the uefi flag. These flags do the same thing, add support for
> > (U)EFI booting. I therefore propose we introduce efi as a new global
> > flag and later rename the uefi flag to efi in sys-apps/fwupd and
> > sys-apps/ipmicfg.
> >
> > I don't have a strong preference between the efi or uefi flags, but
> > since a majority of the packages has chosen efi I suggest we go with
> > that.
>
> Let's do USE=uefi please - UEFI is the modern name for it, and EFI is
> legacy. I'd like to avoid another USE=ssl situation (where we're
> stuck with it forever given we have no mechanism for USE flag renames,
> despite the fact that it's really TLS now).

Any thoughts on grub_platforms_efi-32 and grub_platforms_efi-64?

If we want to rename USE flags, I would probably take the opportunity
to eliminate the GRUB_PLATFORMS USE_EXPAND altogether.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] [PATCH 1/1]: profiles/use.desc: add efi global use flag
  2023-07-14 17:11   ` Mike Gilbert
@ 2023-07-14 18:21     ` Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2023-07-14 18:21 UTC (permalink / raw
  To: gentoo-dev

On 14/07/2023 19:11, Mike Gilbert wrote:
> On Fri, Jul 14, 2023 at 5:07 AM Sam James <sam@gentoo.org> wrote:
>>
>>
>> Andrew Ammerlaan <andrewammerlaan@gentoo.org> writes:
>>
>>> Hi all,
>>>
>>> Currently we have 7 packages defining the efi flag and an additional 2
>>> defining the uefi flag. These flags do the same thing, add support for
>>> (U)EFI booting. I therefore propose we introduce efi as a new global
>>> flag and later rename the uefi flag to efi in sys-apps/fwupd and
>>> sys-apps/ipmicfg.
>>>
>>> I don't have a strong preference between the efi or uefi flags, but
>>> since a majority of the packages has chosen efi I suggest we go with
>>> that.
>>
>> Let's do USE=uefi please - UEFI is the modern name for it, and EFI is
>> legacy. I'd like to avoid another USE=ssl situation (where we're
>> stuck with it forever given we have no mechanism for USE flag renames,
>> despite the fact that it's really TLS now).
> 
> Any thoughts on grub_platforms_efi-32 and grub_platforms_efi-64?
> 
> If we want to rename USE flags, I would probably take the opportunity
> to eliminate the GRUB_PLATFORMS USE_EXPAND altogether.
> 

For grub specifically there is another thing to consider. Currently 
emerging grub does not actually build an efi executable, this (I think) 
is done when you 'grub-install'. This is unfortunate because that makes 
it the only bootloader that you can't conveniently sign with 
secureboot.eclass.

I briefly looked into the problem and there is 'grub-mkstandalone' which 
could be used to generate (and then sign) a grub efi executable. But how 
this would then work with 'grub-install' I do not know. I don't use grub 
myself, but maybe someone who does can look into this.

Best regards,
Andrew


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-14 18:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-14  8:53 [gentoo-dev] [PATCH 1/1]: profiles/use.desc: add efi global use flag Andrew Ammerlaan
2023-07-14  9:05 ` David Seifert
2023-07-14  9:11   ` Andrew Ammerlaan
2023-07-14  9:07 ` Sam James
2023-07-14 17:11   ` Mike Gilbert
2023-07-14 18:21     ` Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox