Author: dteske
Date: Fri Nov  8 10:14:32 2013
New Revision: 257844
URL: http://svnweb.freebsd.org/changeset/base/257844

Log:
  Copy the install log to the deployed /var/log directory so that we have
  post-mortem data on how the machine was configured/installed.

Modified:
  head/usr.sbin/bsdinstall/scripts/config

Modified: head/usr.sbin/bsdinstall/scripts/config
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/config     Fri Nov  8 10:09:34 2013        
(r257843)
+++ head/usr.sbin/bsdinstall/scripts/config     Fri Nov  8 10:14:32 2013        
(r257844)
@@ -39,6 +39,8 @@ rm $BSDINSTALL_TMPBOOT/loader.conf.*
 
 cp $BSDINSTALL_TMPBOOT/* $BSDINSTALL_CHROOT/boot
 
+[ "$debugFile" ] && cp "$debugFile" $BSDINSTALL_CHROOT/var/log/
+
 # Set up other things from installed config
 chroot $BSDINSTALL_CHROOT /usr/bin/newaliases
 
_______________________________________________
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