]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2010-05-27 Robert Millan <rmh@gnu.org>
authorRobert Millan <rmh@aybabtu.com>
Thu, 27 May 2010 14:38:16 +0000 (16:38 +0200)
committerRobert Millan <rmh@aybabtu.com>
Thu, 27 May 2010 14:38:16 +0000 (16:38 +0200)
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Insert
partmap module to handle cross-partmap setups.
Reported by Orestes Mas.  GrĂ cies!

ChangeLog
util/grub-mkconfig_lib.in

index 22005fbb9275eb7ad4dfa674ed1b269f00f15433..18c2abeac7525e0167c2e77f34ec52e22de76ac9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-27  Robert Millan  <rmh@gnu.org>
+
+       * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Insert
+       partmap module to handle cross-partmap setups.
+       Reported by Orestes Mas.  GrĂ cies!
+
 2010-05-27  Colin Watson  <cjwatson@ubuntu.com>
 
        * util/grub-mkrescue.in: Initialise override_dir rather than
index f4674b257509088ca0706f17a5ed7630998e999c..7ec8cb5be08cd0b79675efbd0e6aae07ef898e27 100644 (file)
@@ -105,6 +105,11 @@ prepare_grub_to_access_device ()
     echo "insmod ${module}"
   done
 
+  partmap="`${grub_probe} --device ${device} --target=partmap`"
+  for module in ${partmap} ; do
+    echo "insmod ${module}"
+  done
+
   fs="`${grub_probe} --device ${device} --target=fs`"
   for module in ${fs} ; do
     echo "insmod ${module}"