grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Use realpath to clean up arguments to grub-probe


From: Mario Limonciello
Subject: [PATCH] Use realpath to clean up arguments to grub-probe
Date: Tue, 02 Aug 2011 19:54:40 -0500
User-agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110627 Thunderbird/5.0

Hi,

I've found that the EFI grub-install command can fail to properly figure out devices when using the --root-directory command.  This seems to be rooted from a call to grub-probe with a ".." in the path.

This is fixed by using realpath to clean up the path passed in grub-probe.  Please see the attached patch.

Thanks,

--
Mario Limonciello
Linux Engineer
Dell | OS Engineering

Attachment: realpath.patch
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]