diff --git a/system/boot/grub2/actions.py b/system/boot/grub2/actions.py index cf37521d..ddc47488 100644 --- a/system/boot/grub2/actions.py +++ b/system/boot/grub2/actions.py @@ -15,7 +15,7 @@ from pisi.actionsapi import shelltools def setup(): shelltools.copy("../unifont*.bdf", "./unifont.bdf") - shelltools.export("GRUB_CONTRIB", "%s/grub-2.06/grub-extras" % (get.workDIR())) + #shelltools.export("GRUB_CONTRIB", "%s/grub-2.06/grub-extras" % (get.workDIR())) pisitools.cflags.remove("-fstack-protector", "-fasynchronous-unwind-tables", "-fexceptions", "-fPIC") pisitools.cflags.sub("\s?(-O[\ds]|-D_FORTIFY_SOURCE=\d)\s?", " ") diff --git a/system/boot/grub2/files/grub-mkconfig_lib.patch b/system/boot/grub2/files/grub-mkconfig_lib.patch new file mode 100644 index 00000000..732e5072 --- /dev/null +++ b/system/boot/grub2/files/grub-mkconfig_lib.patch @@ -0,0 +1,12 @@ +diff -Nuar a/util/grub-mkconfig_lib.in b/util/grub-mkconfig_lib.in +--- a/util/grub-mkconfig_lib.in 2020-09-18 23:31:30.000000000 +0300 ++++ b/util/grub-mkconfig_lib.in 2021-07-19 18:35:47.089881731 +0300 +@@ -14,6 +14,8 @@ + # You should have received a copy of the GNU General Public License + # along with GRUB. If not, see . + ++LC_ALL=C ++ + prefix="@prefix@" + exec_prefix="@exec_prefix@" + datarootdir="@datarootdir@" diff --git a/system/boot/grub2/pspec.xml b/system/boot/grub2/pspec.xml index 842b69dd..c2715ad1 100644 --- a/system/boot/grub2/pspec.xml +++ b/system/boot/grub2/pspec.xml @@ -13,8 +13,8 @@ GNU GRUB is a Multiboot boot loader. GNU GRUB (short for GNU GRand Unified Bootloader) is a boot loader package from the GNU Project. http://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz - https://sourceforge.net/projects/pisilinux/files/source/grub2_extras_915resolution_r10.tar.xz - https://ftp.gnu.org/gnu/unifont/unifont-13.0.01/unifont_jp-13.0.01.bdf.gz + + https://ftp.gnu.org/gnu/unifont/unifont-13.0.06/unifont-13.0.06.bdf.gz https://github.com/sebo28/Vimix/archive/v0.1.tar.gz @@ -49,6 +49,7 @@ pisi_name_and_initramfs.patch grub-2.06-test-words.patch + grub-mkconfig_lib.patch