From dca45ca8ea07425dca73441c959e303b730e5f55 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 8 Jul 2023 16:28:57 +0300 Subject: [PATCH] grub: revert commit that broke reading (some) files on (some) XFS filesystems Fixes LVM installer test. --- pkgs/tools/misc/grub/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/grub/default.nix b/pkgs/tools/misc/grub/default.nix index d350add3b1c3..cd1e2b989d53 100644 --- a/pkgs/tools/misc/grub/default.nix +++ b/pkgs/tools/misc/grub/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, runCommand, fetchFromSavannah, flex, bison, python3, autoconf, automake, libtool, bash +{ lib, stdenv, runCommand, fetchFromSavannah, fetchpatch, flex, bison, python3, autoconf, automake, libtool, bash , rsync, gettext, ncurses, libusb-compat-0_1, freetype, qemu, lvm2, unifont, pkg-config , buildPackages , nixosTests @@ -83,6 +83,14 @@ stdenv.mkDerivation rec { patches = [ ./fix-bash-completion.patch ./add-hidden-menu-entries.patch + + # Revert upstream commit that breaks reading XFS filesystems + # FIXME: remove when fixed upstream + (fetchpatch { + url = "https://git.savannah.gnu.org/cgit/grub.git/patch/?id=ef7850c757fb3dd2462a512cfa0ff19c89fcc0b1"; + revert = true; + hash = "sha256-p8Kcv9d7ri4eJU6Fgqyzdj0hV5MHSe50AF02FPDJx2Y="; + }) ]; postPatch = if kbdcompSupport then ''