]> git.proxmox.com Git - grub2.git/commit
Fix partmap, cryptodisk, and abstraction handling in grub-mkconfig.
authorColin Watson <cjwatson@ubuntu.com>
Mon, 31 Mar 2014 13:48:33 +0000 (14:48 +0100)
committerColin Watson <cjwatson@debian.org>
Fri, 26 Sep 2014 13:06:40 +0000 (14:06 +0100)
commit85f00e4dc5aa2c89ba688fa7d2f1b93dd5105c9c
treebcd28660f3ae93f212988c3550b2d172be245d85
parentb76176d6c5d48dc95f9d70b2330e13ed34dbf924
Fix partmap, cryptodisk, and abstraction handling in grub-mkconfig.

Commit 588744d0dc655177d5883bdcb8f72ff5160109ed caused grub-mkconfig
no longer to be forgiving of trailing spaces on grub-probe output
lines, which among other things means that util/grub.d/10_linux.in
no longer detects LVM.  To fix this, make grub-probe's output
delimiting more consistent.  As a bonus, this improves the coverage
of the -0 option.

Fixes Debian bug #735935.

* grub-core/disk/cryptodisk.c
(grub_util_cryptodisk_get_abstraction): Add a user-data argument.
* grub-core/disk/diskfilter.c (grub_diskfilter_get_partmap):
Likewise.
* include/grub/cryptodisk.h (grub_util_cryptodisk_get_abstraction):
Update prototype.
* include/grub/diskfilter.h (grub_diskfilter_get_partmap): Likewise.
* util/grub-install.c (push_partmap_module, push_cryptodisk_module,
probe_mods): Adjust for extra user-data arguments.
* util/grub-probe.c (do_print, probe_partmap, probe_cryptodisk_uuid,
probe_abstraction): Use configured delimiter.  Update callers.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=24024dac7f51d3c0df8e1bec63c02d52828de534
Bug-Debian: http://bugs.debian.org/735935
Forwarded: not-needed
Last-Update: 2014-03-31

Patch-Name: probe-delimiter.patch
grub-core/disk/cryptodisk.c
grub-core/disk/diskfilter.c
include/grub/cryptodisk.h
include/grub/diskfilter.h
util/grub-install.c
util/grub-probe.c