mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-08 18:26:49 +00:00
* Backport from upstream:
- Canonicalise the path argument to grub-probe (closes: #637768).
This commit is contained in:
parent
9ca730e7cb
commit
c737a26202
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -1,8 +1,13 @@
|
|||||||
grub2 (1.99-12) UNRELEASED; urgency=low
|
grub2 (1.99-12) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
[ Robert Millan ]
|
||||||
* Fix grub-probe detection for LSI MegaRAID SAS devices on kFreeBSD.
|
* Fix grub-probe detection for LSI MegaRAID SAS devices on kFreeBSD.
|
||||||
- kfreebsd_mfi_devices.diff
|
- kfreebsd_mfi_devices.diff
|
||||||
|
|
||||||
|
[ Colin Watson ]
|
||||||
|
* Backport from upstream:
|
||||||
|
- Canonicalise the path argument to grub-probe (closes: #637768).
|
||||||
|
|
||||||
-- Robert Millan <rmh@debian.org> Wed, 10 Aug 2011 22:34:10 +0200
|
-- Robert Millan <rmh@debian.org> Wed, 10 Aug 2011 22:34:10 +0200
|
||||||
|
|
||||||
grub2 (1.99-11) unstable; urgency=low
|
grub2 (1.99-11) unstable; urgency=low
|
||||||
|
26
debian/patches/probe_canonicalise.patch
vendored
Normal file
26
debian/patches/probe_canonicalise.patch
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Description: Canonicalise path argument to grub-probe
|
||||||
|
This fixes use of "/path/.." as in grub-install for EFI, as well as
|
||||||
|
handling symlinks correctly.
|
||||||
|
Author: Mario Limonciello <mario_limonciello@dell.com>
|
||||||
|
Author: Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
Bug-Debian: http://bugs.debian.org/637768
|
||||||
|
Forwarded: yes
|
||||||
|
Applied-Upstream: http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/revision/3401
|
||||||
|
Last-Update: 2011-08-15
|
||||||
|
|
||||||
|
Index: b/util/grub-probe.c
|
||||||
|
===================================================================
|
||||||
|
--- a/util/grub-probe.c
|
||||||
|
+++ b/util/grub-probe.c
|
||||||
|
@@ -108,7 +108,10 @@
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
else
|
||||||
|
- device_name = grub_guess_root_device (path);
|
||||||
|
+ {
|
||||||
|
+ grub_path = canonicalize_file_name (path);
|
||||||
|
+ device_name = grub_guess_root_device (grub_path);
|
||||||
|
+ }
|
||||||
|
|
||||||
|
if (! device_name)
|
||||||
|
grub_util_error ("cannot find a device for %s (is /dev mounted?)", path);
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -25,3 +25,4 @@ gfxterm_background.patch
|
|||||||
zfs_packed_la_array.patch
|
zfs_packed_la_array.patch
|
||||||
xen_replace.patch
|
xen_replace.patch
|
||||||
kfreebsd_mfi_devices.diff
|
kfreebsd_mfi_devices.diff
|
||||||
|
probe_canonicalise.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user