We can feed_random right after mounting the filesystems, hoping we pick
authorderaadt <deraadt@openbsd.org>
Sun, 5 Jan 2014 01:53:35 +0000 (01:53 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 5 Jan 2014 01:53:35 +0000 (01:53 +0000)
up the previous kernel's /var/db/host.random
ok rpe

distrib/miniroot/upgrade.sh

index 1ebe2cd..20089fa 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/ksh
-#      $OpenBSD: upgrade.sh,v 1.72 2012/04/21 10:17:26 henning Exp $
+#      $OpenBSD: upgrade.sh,v 1.73 2014/01/05 01:53:35 deraadt Exp $
 #      $NetBSD: upgrade.sh,v 1.2.4.5 1996/08/27 18:15:08 gwr Exp $
 #
 # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -84,6 +84,8 @@ check_fs
 umount /mnt || { echo "Can't umount $ROOTDEV!" ; exit ; }
 mount_fs
 
+feed_random
+
 # Install sets.
 install_sets