Author: jpaetzel
Date: Fri May  4 15:39:41 2012
New Revision: 235008
URL: http://svn.freebsd.org/changeset/base/235008

Log:
  Add bootcamp bootloader stamp
  
  Submitted by: kmoore
  Obtained from:        PC-BSD
  MFC after:    3 days
  Sponsored by: iXsystems

Modified:
  head/usr.sbin/pc-sysinstall/backend/functions-disk.sh

Modified: head/usr.sbin/pc-sysinstall/backend/functions-disk.sh
==============================================================================
--- head/usr.sbin/pc-sysinstall/backend/functions-disk.sh       Fri May  4 
15:38:47 2012        (r235007)
+++ head/usr.sbin/pc-sysinstall/backend/functions-disk.sh       Fri May  4 
15:39:41 2012        (r235008)
@@ -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'`
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to