commit:     1748da6acdaad7b7206e5f72890bdf59c50e84c7
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 16 03:45:14 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Dec 16 03:47:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1748da6a

profiles/arch: mask grub_platforms_pc on non-x86 archs

Closes: https://bugs.gentoo.org/967555
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 profiles/arch/amd64/package.use.mask |  8 ++++----
 profiles/arch/base/package.use.mask  | 13 +++++--------
 profiles/arch/x86/package.use.mask   |  4 ++++
 3 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/profiles/arch/amd64/package.use.mask 
b/profiles/arch/amd64/package.use.mask
index 13513849855d..3f29bc57d4a2 100644
--- a/profiles/arch/amd64/package.use.mask
+++ b/profiles/arch/amd64/package.use.mask
@@ -17,6 +17,10 @@
 
 #--- END OF EXAMPLES ---
 
+# Mike Gilbert <[email protected]> (2025-12-15)
+# arch-specific platform values
+sys-boot/grub -grub_platforms_pc -grub_platforms_xen-32
+
 # Michał Górny <[email protected]> (2025-11-01)
 # app-crypt/sequoia-chameleon-gnupg is keyworded here.
 app-alternatives/gpg -sequoia
@@ -492,10 +496,6 @@ dev-db/mariadb -jdbc
 # PGO is fixed on amd64
 >=www-client/firefox-48 -pgo
 
-# Mike Gilbert <[email protected]> (2016-06-23)
-# This flag only has meaning on amd64
-sys-boot/grub:2 -grub_platforms_xen-32
-
 # Brian Evans <[email protected]> (2015-09-14)
 # Unmask new USE flags for mariadb on supported arches
 >=dev-db/mariadb-10.1.0 -mroonga -galera

diff --git a/profiles/arch/base/package.use.mask 
b/profiles/arch/base/package.use.mask
index e7825d0033d6..608eb69643e9 100644
--- a/profiles/arch/base/package.use.mask
+++ b/profiles/arch/base/package.use.mask
@@ -1,6 +1,11 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Mike Gilbert <[email protected] (2025-12-15)
+# arch-specific platform values
+sys-boot/grub grub_platforms_loongson grub_platforms_qemu-mips
+sys-boot/grub grub_platforms_pc grub_platforms_xen-32
+
 # Michał Górny <[email protected]> (2025-11-01)
 # app-crypt/sequoia-chameleon-gnupg is not keyworded everywhere.
 app-alternatives/gpg sequoia
@@ -266,10 +271,6 @@ media-libs/libva-intel-driver hybrid
 <sys-libs/glibc-2.36 experimental-loong
 sys-libs/libseccomp experimental-loong
 
-# James Le Cuirot <[email protected]> (2022-02-24)
-# These GRUB platforms are only for MIPS.
-sys-boot/grub grub_platforms_loongson grub_platforms_qemu-mips
-
 # Adel Kara Slimane <[email protected]> (2022-02-17)
 # Mask AMF keyword on non-amd64 arches
 # It is unusable, for now, in other arches
@@ -438,10 +439,6 @@ dev-db/mysql numa
 # Mask jdbc as most arches don't support java
 dev-db/mariadb jdbc
 
-# Mike Gilbert <[email protected]> (2016-06-23)
-# This flag only has meaning on amd64
-sys-boot/grub:2 grub_platforms_xen-32
-
 # Alexis Ballier <[email protected]> (2015-11-14)
 # MMAL is only available on the Raspberry Pi:
 # Mask it globally, unmask it on arm.

diff --git a/profiles/arch/x86/package.use.mask 
b/profiles/arch/x86/package.use.mask
index f2592b07e439..77c30d7e6192 100644
--- a/profiles/arch/x86/package.use.mask
+++ b/profiles/arch/x86/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Mike Gilbert <[email protected]> (2025-12-15)
+# arch-specific platform values
+sys-boot/grub -grub_platforms_pc
+
 # Nowa Ammerlaan <[email protected]> (2025-12-03)
 # media-video/ffmpeg-chromium is not available here
 dev-libs/nwjs ffmpeg-chromium

Reply via email to