Dash:
[t2.git] / package / boot / grub2 / openfirmware-no-colors.patch
blob0d9283fc903021cb42076ac06f1bbc365f8bb7bb
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/grub2/openfirmware-no-colors.patch
3 # Copyright (C) 2021 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 With color palette set some systems, like Sun U5/U10 are black on black, ...
16 --- grub-2.06/grub-core/kern/ieee1275/cmain.c.vanilla 2021-12-08 18:16:04.176739527 +0100
17 +++ grub-2.06/grub-core/kern/ieee1275/cmain.c 2021-12-08 18:16:32.273738406 +0100
18 @@ -60,6 +60,7 @@
20 #ifdef __sparc__
21 grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_NO_PARTITION_0);
22 + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_CANNOT_SET_COLORS);
23 #endif
25 grub_ieee1275_finddevice ("/", &root);