svn commit: r257844 - head/usr.sbin/bsdinstall/scripts

Devin Teske dteske at FreeBSD.org
Fri Nov 8 10:14:33 UTC 2013


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
 


More information about the svn-src-all mailing list