Bug#1017741: [PATCH] Update package description for EFI*

2022-08-19 Thread Osamu Aoki
Hi,

> -Original Message-
> From: Colin Watson 
> To: Osamu Aoki , 1017...@bugs.debian.org
> Subject: Re: Bug#1017741: [PATCH] Update package description for EFI*
> Date: Fri, 19 Aug 2022 20:24:32 +0100
> 
> On Sat, Aug 20, 2022 at 03:50:44AM +0900, Osamu Aoki wrote:
> > diff --git a/debian/control b/debian/control
> > index 71cca4436..74769e0eb 100644
> > --- a/debian/control
> > +++ b/debian/control
> > @@ -263,11 +263,11 @@ Description: GRand Unified Bootloader, version 2 
> > (EFI-IA32
> > modules)
> >  update-grub.
> >   .
> >   This package contains GRUB modules that have been built for use with the
> > - EFI-IA32 architecture, as used by Intel Macs (unless a BIOS interface has
> > - been activated).  It can be installed in parallel with other flavours, but
> > - will not automatically install GRUB as the active boot loader nor
> > - automatically update grub.cfg on upgrade unless grub-efi-ia32 is also
> > - installed.
> > + EFI-IA32 architecture, as used by modern PCs with UEFI (unless a legacy PC
> > + BIOS interface has been activated).  It can be installed in parallel with
> > + other flavours, but will not automatically install GRUB as the active boot
> > + loader nor automatically update grub.cfg on upgrade unless grub-efi-ia32 
> > is
> > + also installed.
> >  
> >  Package: grub-efi-ia32-dbg
> >  Section: debug
> > @@ -296,9 +296,9 @@ Description: GRand Unified Bootloader, version 2 
> > (EFI-IA32
> > version)
> >  update-grub.
> >   .
> >   This is a dependency package for a version of GRUB that has been built for
> > - use with the EFI-IA32 architecture, as used by Intel Macs (unless a BIOS
> > - interface has been activated).  Installing this package indicates that 
> > this
> > - version of GRUB should be the active boot loader.
> > + use with the EFI-IA32 architecture, as used by modern PCs with UEFI 
> > (unless a
> > + legacy PC BIOS interface has been activated).  Installing this package
> > + indicates that this version of GRUB should be the active boot loader.
> >  
> >  Package: grub-efi-ia32-signed-template
> >  Architecture: i386
> 
> This part of the patch looks wrong.  The efi-ia32 platform (i.e. 32-bit
> firmware; note that this is *not* about which OS architecture is in use)
> is in fact suitable for only very few modern PCs; IIRC there were a few
> others beyond just Intel Macs, though I think Intel Macs were still the
> majority sold.
> 
> The changes look more accurate for the efi-amd64 platform (i.e. 64-bit
> firmware).

Come to think of, you are 100% correct.



Bug#1017741: [PATCH] Update package description for EFI*

2022-08-19 Thread Colin Watson
On Sat, Aug 20, 2022 at 03:50:44AM +0900, Osamu Aoki wrote:
> diff --git a/debian/control b/debian/control
> index 71cca4436..74769e0eb 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -263,11 +263,11 @@ Description: GRand Unified Bootloader, version 2 
> (EFI-IA32 modules)
>  update-grub.
>   .
>   This package contains GRUB modules that have been built for use with the
> - EFI-IA32 architecture, as used by Intel Macs (unless a BIOS interface has
> - been activated).  It can be installed in parallel with other flavours, but
> - will not automatically install GRUB as the active boot loader nor
> - automatically update grub.cfg on upgrade unless grub-efi-ia32 is also
> - installed.
> + EFI-IA32 architecture, as used by modern PCs with UEFI (unless a legacy PC
> + BIOS interface has been activated).  It can be installed in parallel with
> + other flavours, but will not automatically install GRUB as the active boot
> + loader nor automatically update grub.cfg on upgrade unless grub-efi-ia32 is
> + also installed.
>  
>  Package: grub-efi-ia32-dbg
>  Section: debug
> @@ -296,9 +296,9 @@ Description: GRand Unified Bootloader, version 2 
> (EFI-IA32 version)
>  update-grub.
>   .
>   This is a dependency package for a version of GRUB that has been built for
> - use with the EFI-IA32 architecture, as used by Intel Macs (unless a BIOS
> - interface has been activated).  Installing this package indicates that this
> - version of GRUB should be the active boot loader.
> + use with the EFI-IA32 architecture, as used by modern PCs with UEFI (unless 
> a
> + legacy PC BIOS interface has been activated).  Installing this package
> + indicates that this version of GRUB should be the active boot loader.
>  
>  Package: grub-efi-ia32-signed-template
>  Architecture: i386

This part of the patch looks wrong.  The efi-ia32 platform (i.e. 32-bit
firmware; note that this is *not* about which OS architecture is in use)
is in fact suitable for only very few modern PCs; IIRC there were a few
others beyond just Intel Macs, though I think Intel Macs were still the
majority sold.

The changes look more accurate for the efi-amd64 platform (i.e. 64-bit
firmware).

-- 
Colin Watson (he/him)  [cjwat...@debian.org]



Bug#1017741: [PATCH] Update package description for EFI*

2022-08-19 Thread Osamu Aoki
Source: grub2
Version: 2.04-20
Severity: minor
Tags: patch

Most modern PCs has been sold with UEFI support for more than 10 years.

Microsoft's certification requirements for now obsolete Windows 8
required UEFI since 2012.

In 2006, Intel Mac was practically the only one but now Macs are
ARM-based.  So mentioning Macs here is misleading.

(Patch file may be sent separately.)

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-4-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
>From 4ee56739aa78d51224c27a4ea1164160b2368347 Mon Sep 17 00:00:00 2001
From: Osamu Aoki 
Date: Sat, 20 Aug 2022 03:31:54 +0900
Subject: [PATCH] Update package description for EFI*

Most modern PCs has been sold with UEFI support for more than 10 years.

Microsoft's certification requirements for now obsolete Windows 8
required UEFI since 2012.

In 2006, Intel Mac was practically the only one but now Macs are
ARM-based.  So mentioning Macs here is misleading.

Signed-off-by: Osamu Aoki 
---
 debian/control | 32 
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/debian/control b/debian/control
index 71cca4436..74769e0eb 100644
--- a/debian/control
+++ b/debian/control
@@ -263,11 +263,11 @@ Description: GRand Unified Bootloader, version 2 
(EFI-IA32 modules)
 update-grub.
  .
  This package contains GRUB modules that have been built for use with the
- EFI-IA32 architecture, as used by Intel Macs (unless a BIOS interface has
- been activated).  It can be installed in parallel with other flavours, but
- will not automatically install GRUB as the active boot loader nor
- automatically update grub.cfg on upgrade unless grub-efi-ia32 is also
- installed.
+ EFI-IA32 architecture, as used by modern PCs with UEFI (unless a legacy PC
+ BIOS interface has been activated).  It can be installed in parallel with
+ other flavours, but will not automatically install GRUB as the active boot
+ loader nor automatically update grub.cfg on upgrade unless grub-efi-ia32 is
+ also installed.
 
 Package: grub-efi-ia32-dbg
 Section: debug
@@ -296,9 +296,9 @@ Description: GRand Unified Bootloader, version 2 (EFI-IA32 
version)
 update-grub.
  .
  This is a dependency package for a version of GRUB that has been built for
- use with the EFI-IA32 architecture, as used by Intel Macs (unless a BIOS
- interface has been activated).  Installing this package indicates that this
- version of GRUB should be the active boot loader.
+ use with the EFI-IA32 architecture, as used by modern PCs with UEFI (unless a
+ legacy PC BIOS interface has been activated).  Installing this package
+ indicates that this version of GRUB should be the active boot loader.
 
 Package: grub-efi-ia32-signed-template
 Architecture: i386
@@ -325,11 +325,11 @@ Description: GRand Unified Bootloader, version 2 
(EFI-AMD64 modules)
 update-grub.
  .
  This package contains GRUB modules that have been built for use with the
- EFI-AMD64 architecture, as used by Intel Macs (unless a BIOS interface has
- been activated).  It can be installed in parallel with other flavours, but
- will not automatically install GRUB as the active boot loader nor
- automatically update grub.cfg on upgrade unless grub-efi-amd64 is also
- installed.
+ EFI-AMD64 architecture, as used by modern PCs with UEFI (unless a legacy PC
+ BIOS interface has been activated).  It can be installed in parallel with
+ other flavours, but will not automatically install GRUB as the active boot
+ loader nor automatically update grub.cfg on upgrade unless grub-efi-amd64 is
+ also installed.
 
 Package: grub-efi-amd64-dbg
 Section: debug
@@ -358,9 +358,9 @@ Description: GRand Unified Bootloader, version 2 (EFI-AMD64 
version)
 update-grub.
  .
  This is a dependency package for a version of GRUB that has been built for
- use with the EFI-AMD64 architecture, as used by Intel Macs (unless a BIOS
- interface has been activated).  Installing this package indicates that this
- version of GRUB should be the active boot loader.
+ use with the EFI-AMD64 architecture, as used by modern PCs with UEFI (unless
+ a legacy PC BIOS interface has been activated).  Installing this package
+ indicates that this version of GRUB should be the active boot loader.
 
 Package: grub-efi-amd64-signed-template
 Architecture: amd64
-- 
2.35.1