powerpc: Fix the grub support
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 13 Aug 2018 13:31:57 +0000 (13:31 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 13 Aug 2018 14:42:58 +0000 (14:42 +0000)
The default support should be OpenFirmware, requiring pc-style
support directly fail on configure.

profiles/arch/powerpc/package.use
profiles/arch/powerpc/package.use.mask

index 6195ca57993efe99607a7b7486324035319d1a11..c2c9780861c30a082a94afbb41d53f938a6232d6 100644 (file)
@@ -1,6 +1,10 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# Luca Barbato <lu_zero@gentoo.org> (12 Aug 2018)
+# Default to PowerPC OpenFirmware
+sys-boot/grub:2 grub_platforms_ieee1275
+
 # Doug Goldstein <cardoe@gentoo.org> (29 Oct 2012)
 # Enable the native arch as the default qemu target
 app-emulation/qemu qemu_softmmu_targets_ppc
index a36770e86d76a81467e05b9005c8135daa916076..4f7e375b08a078c876c6ca552ae59b566bc871f5 100644 (file)
@@ -1,6 +1,10 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# Luca Barbato <lu_zero@gentoo.org> (12 Aug 2018)
+# grub pc is not supported on powerpc
+sys-boot/grub:2 grub_platforms_pc grub_platforms_efi-32 grub_platforms_efi-64 grub_platforms_xen
+
 # Pacho Ramos <pacho@gentoo.org> (27 May 2018)
 # kde-frameworks/kdelibs4support not keyworded on ppc
 # Michał Górny <mgorny@gentoo.org> (09 Jul 2018)