Debian Patches

Status for grub/0.97-82

Patch Description Author Forwarded Bugs Origin Last update
snapshot.patch Upstream snapshot up to 2009-07-02 no
menu.lst_gnu-hurd.patch =================================================================== no
graphics.patch =================================================================== no
raid.patch some code from other sources. He's cooperative about rewriting and/or doing
the paperwork.

===================================================================
no
raid_cciss.patch =================================================================== no
xfs_freeze.patch =================================================================== no
2gb_limit.patch Author: Goswin Brederlow
Status: pending
Updated by: Otavio Salvador - resync with 0.97 code

===================================================================
no
grub-special_device_names.patch =================================================================== no
grub-xvd_drives.patch =================================================================== no
initrd_max_address.patch Date: 2005-11-11
Author: Otavio Salvador
Comment: Stolen from SuSE grub package.
It fix the max address of initrd image and include a safe
default in case of it isn't available

===================================================================
no
splashimage_help.patch Date: 2005-11-11
Author: Otavio Salvador
Comment: Stolen from Fedora grub package.
Add document entry for splashimage option.

===================================================================
no
grub-install_addsyncs.patch Date: 2005-11-11
Author: Otavio Salvador
Comment: Stolen from Fedora grub package.
Add syncs to ensure that filesystem cache are flushed.

-- Original comment, below

I just found another semi-critical bug, whose fix should really get
into 0.91.

It turns out that "grub-install" doesn't have any "sync" calls to make
sure any filesystem caches are coherent with the raw devices they are
on top of... so if your filesystem waits to write out any data from the
copy command in the script to put the "stage1" and "stage2" in their
final location, you're hosed.

I found this because it just bit me on one of my systems running stock
RedHat 7.2 with a large "stage2".

The only script that is patched here is "grub-install". The others
don't appear to need it as they either unmount things first or don't
refer to devices.

Hmm. Maybe the right fix is to make the "sync" system call when
starting the GRUB shell with a device map that refers to any real disks
or something like that.

Erich Stefan Boleyn <erich@uruk.org> http://www.uruk.org/
"Reality is truly stranger than fiction; Probably why fiction is so popular"

===================================================================
no
grub-install_regexp.patch =================================================================== no
grub-install_aoe_support.patch =================================================================== no
grub-install_xvd.patch =================================================================== no
geometry-26kernel.patch Date: 2005-11-11
Author: Otavio Salvador
Comment: Stolen from Fedora grub package.
Put geometry discover inside of grub code since kernel 2.6
doesn't do that anymore.

===================================================================
no
print_func.patch 2006-01-05 Otavio Salvador <otavio@debian.org>

* Rediff.

2005-16-10 Samuel Thibault <samuel.thibault@ens-lyon.org>

* docs/grub.texi: Added print command description.
* stage2/builtins.c(print_func): New function.
(builtin_print): New variable.
(builtin_table): Added builtin_print in table.

Debian Status Following:
Added by: Otavio Salvador
Date: 2006-01-05

===================================================================
no
mprotect.patch =================================================================== no
savedefault.patch =================================================================== no
find-grub-dir.patch =================================================================== no
intelmac.patch =================================================================== no
crossreference_manpages.patch =================================================================== no
ext3_256byte_inode.patch Patch from Red Hat. See #463236, #463123 (and #491076 for the reviewed version)

===================================================================
no
use_grub-probe_in_grub-install.patch =================================================================== no
objcopy-absolute.patch Fix objcopy build-id handling Take only .text section into account, as newer toolchains generate unique
build ids.
.
Backported from GRUB 2.

===================================================================
Lubomir Kundrak <lkundrak@redhat.com> no 2016-10-09
no-reorder-functions.patch =================================================================== no
modern-automake.patch Adjust to work with modern Automake
===================================================================
Colin Watson <cjwatson@debian.org> no debian 2013-09-24
no-combine-stack-adjustments.patch =================================================================== no
no-pie.patch Disable PIE for stage1 and stage2 This is no use for freestanding binaries and causes an explosion in binary
size.

===================================================================
Colin Watson <cjwatson@debian.org> no 2016-10-08
static-vars-on-stack.patch Put pointers to static variables as arguments on the new stack to get it working with gcc 7.

===================================================================
Bernhard Übelacker <bernhardu@mailbox.org> no debian 2018-07-06
ext4_support.patch Allow booting from ext4 partitions
===================================================================
Quentin Godfroy <godfroy@clipper.ens.fr> no debian 2018-10-25
ext4_fix_variable_sized_inodes.patch Add support for ext4 variable sized inodes This is backwardly compatible with ext2/ext3 fixed sized inodes.

===================================================================
Colin King <colin.king@canonical.com> no debian 2018-10-25
ext4_block_group.patch Fix ext4 block group handling Backported distantly from grub2, particularly:
https://git.savannah.gnu.org/cgit/grub.git/commit/?id=e20aa39ea4298011ba716087713cff26c6c52006

===================================================================
Colin Watson <cjwatson@debian.org> no debian 2018-10-25
convert_to_ascii-non-variadic.patch Make convert_to_ascii non-variadic This is unnecessary complexity since all callers passed a single unsigned
long argument. GCC 11 seemed to miscompile the previous code, though it's
hard to complain about that since imitating va_arg by hand like this was
very much a non-standard approach.

===================================================================
Colin Watson <cjwatson@debian.org> no debian 2022-01-03

All known versions for source package 'grub'

Links