diff --git a/system/boot/grub2/files/0001-grub-install-fix-inverted-test-for-NLS-enabled-when-.patch b/system/boot/grub2/files/0001-grub-install-fix-inverted-test-for-NLS-enabled-when-.patch new file mode 100644 index 00000000..48a5b13c --- /dev/null +++ b/system/boot/grub2/files/0001-grub-install-fix-inverted-test-for-NLS-enabled-when-.patch @@ -0,0 +1,36 @@ +From ee855b15ff185bad3b0495500ab234b9cab7436c Mon Sep 17 00:00:00 2001 +From: Martin Whitaker +Date: Mon, 24 Feb 2020 22:11:29 +0000 +Subject: [PATCH] grub-install: fix inverted test for NLS enabled when copying + locales. + +Commit 3d8439da8c9a4acf9bc1c41b364ec6e1680ef052 attempted to avoid +copying locale files to the target directory when NLS was disabled. +However the test is inverted, and it does the opposite. + +Signed-off-by: Martin Whitaker + +diff --git a/util/grub-install-common.c b/util/grub-install-common.c +index ca0ac612a..f53bf0694 100644 +--- a/util/grub-install-common.c ++++ b/util/grub-install-common.c +@@ -598,7 +598,7 @@ copy_all (const char *srcd, + grub_util_fd_closedir (d); + } + +-#if !(defined (GRUB_UTIL) && defined(ENABLE_NLS) && ENABLE_NLS) ++#if (defined (GRUB_UTIL) && defined(ENABLE_NLS) && ENABLE_NLS) + static const char * + get_localedir (void) + { +@@ -659,7 +659,7 @@ static void + grub_install_copy_nls(const char *src __attribute__ ((unused)), + const char *dst __attribute__ ((unused))) + { +-#if !(defined (GRUB_UTIL) && defined(ENABLE_NLS) && ENABLE_NLS) ++#if (defined (GRUB_UTIL) && defined(ENABLE_NLS) && ENABLE_NLS) + char *dst_locale; + + dst_locale = grub_util_path_concat (2, dst, "locale"); +-- +2.21.1 diff --git a/system/boot/grub2/pspec.xml b/system/boot/grub2/pspec.xml index 6d7688f4..08e46ac6 100644 --- a/system/boot/grub2/pspec.xml +++ b/system/boot/grub2/pspec.xml @@ -12,11 +12,11 @@ app:gui 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.02.tar.xz - http://source.pisilinux.org/1.0/grub2_extras_915resolution_r10.tar.xz + http://ftp.gnu.org/gnu/grub/grub-2.04.tar.xz + http://source.pisilinux.org/1.0/grub2_extras_915resolution_r10.tar.xz https://ftp.gnu.org/gnu/unifont/unifont-12.1.03/unifont_jp-12.1.03.bdf.gz - https://github.com/sebo28/Pisilinux-Bluez/archive/v0.1.tar.gz + https://github.com/sebo28/Pisilinux-Bluez/archive/v0.1.tar.gz autogen binutils @@ -47,10 +47,11 @@ grub-2.02_beta2-KERNEL_GLOBS.patch mkconfig-fix.patch pisi_name_and_initramfs.patch - Allow_GRUB_to_mount_ext234_filesystems_that_have_the_encryption_feature.patch - tsc-Change-default-tsc-calibration-method-to-pmtimer-on-EFI-systems.patch - intel-ucode.patch - 2.02-gcc8.patch + + + + + 0001-grub-install-fix-inverted-test-for-NLS-enabled-when-.patch @@ -90,6 +91,13 @@ + + 2020-03-28 + 2.04 + Version bump + Mustafa Cinasal + muscnsl@gmail.com + 2020-01-18 2.02