1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/*/grub2/lvm2-hotfix.patch
5 # Copyright (C) 2021 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Somehow my cached raid volumes throw invalid segment errors, so let's patch this out
18 for now as this code is too yolo for me to futher debug.
20 - Rene Rebe <rene@exactcode.de>
22 --- grub-39cfb3eb5caa71967f4e9e741d859e15d645c32f/grub-core/disk/diskfilter.c.vanilla 2021-03-12 22:21:50.747395643 +0100
23 +++ grub-39cfb3eb5caa71967f4e9e741d859e15d645c32f/grub-core/disk/diskfilter.c 2021-03-12 22:22:43.543392496 +0100
27 if (seg->stripe_size == 0 || seg->node_count == 0)
28 - return grub_error(GRUB_ERR_BAD_FS, "invalid segment");
29 + ; // return grub_error(GRUB_ERR_BAD_FS, "invalid segment");