Skip to contentSkip to conversation

grub-setup, wrong core_path_dev

PATCH In review Alexandre Bique 2 participants 2 messages Feb 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 grub-setup, wrong core_path_dev

Hi,

Here is a patch to fix core_path_dev path, because it should depends on the --directory parameters.

Thank you.

Signature · 1 line
Alexandre Bique
i386/pc/grub-setup.c +1 -1
Index: util/i386/pc/grub-setup.c
===================================================================
@@ -373,7 +373,7 @@
   
   /* Make sure that GRUB reads the identical image as the OS.  */
   tmp_img = xmalloc (core_size);
-  core_path_dev = grub_util_get_path (DEFAULT_DIRECTORY, core_file);
+  core_path_dev = grub_util_get_path (dir, core_file);
   
   /* It is a Good Thing to sync two times.  */
   sync ();
#1 lore raw
Quoted 4 lines · Alexandre Bique

Hi,

Here is a patch to fix core_path_dev path, because it should depends on the --directory parameters.

Committed, thanks.

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."