7162251 grub-setup fails during build of DC ISO images on RE x86 build system.
--- a/usr/src/lib/install_boot/boot.py Sun Apr 15 23:31:35 2012 +0200
+++ b/usr/src/lib/install_boot/boot.py Wed Apr 18 14:32:29 2012 +1000
@@ -1038,7 +1038,9 @@
self.logger.debug("Installing GRUB2 on %s", lofi_rdev)
bios_grub_dir = os.path.join(self.pkg_img_path,
"boot/grub/i386-pc")
- cmd = [GRUB_SETUP, "-d", bios_grub_dir, "-M", lofi_rdev]
+ cmd = [GRUB_SETUP, "-d", bios_grub_dir,
+ "--root-device=(hostdisk/" + lofi_rdev + ")",
+ "-M", lofi_rdev]
run(cmd)
# Write the first 1MB of the lofi image out to file and store