svn commit: r235448 - stable/9/usr.sbin/pc-sysinstall/backend

Josh Paetzel jpaetzel at FreeBSD.org
Mon May 14 15:20:40 UTC 2012


Author: jpaetzel
Date: Mon May 14 15:20:39 2012
New Revision: 235448
URL: http://svn.freebsd.org/changeset/base/235448

Log:
  MFC: 235008
  
  Add bootcamp bootloader stamp.
  
  Submitted by:	kmoore
  Obtained from:	PC-BSD
  Sponsored by:	iXsystems

Modified:
  stable/9/usr.sbin/pc-sysinstall/backend/functions-disk.sh
Directory Properties:
  stable/9/usr.sbin/pc-sysinstall/   (props changed)

Modified: stable/9/usr.sbin/pc-sysinstall/backend/functions-disk.sh
==============================================================================
--- stable/9/usr.sbin/pc-sysinstall/backend/functions-disk.sh	Mon May 14 15:18:47 2012	(r235447)
+++ stable/9/usr.sbin/pc-sysinstall/backend/functions-disk.sh	Mon May 14 15:20:39 2012	(r235448)
@@ -766,6 +766,10 @@ run_gpart_gpt_part()
   # Init the MBR partition
   rc_halt "gpart create -s BSD ${DISK}p${slicenum}"
 
+  # Stamp the bootloader
+  sleep 4
+  rc_halt "gpart bootcode -b /boot/boot ${DISK}p${slicenum}"
+
   # Set the slice to the format we'll be using for gpart later
   slice=`echo "${1}:${3}:gptslice" | sed 's|/|-|g'`
 


More information about the svn-src-all mailing list