[or-cvs] r19043: {torvm} Fix version in vm kernel banner, mount Tor virtual disk with (torvm/trunk/build/kamikaze/patches)

coderman at seul.org coderman at seul.org
Mon Mar 16 09:35:12 UTC 2009


Author: coderman
Date: 2009-03-16 05:35:12 -0400 (Mon, 16 Mar 2009)
New Revision: 19043

Modified:
   torvm/trunk/build/kamikaze/patches/002-kamikaze-mod-basefiles.patch
Log:
Fix version in vm kernel banner, mount Tor virtual disk with noatime,nodiratime.

Modified: torvm/trunk/build/kamikaze/patches/002-kamikaze-mod-basefiles.patch
===================================================================
--- torvm/trunk/build/kamikaze/patches/002-kamikaze-mod-basefiles.patch	2009-03-16 09:07:38 UTC (rev 19042)
+++ torvm/trunk/build/kamikaze/patches/002-kamikaze-mod-basefiles.patch	2009-03-16 09:35:12 UTC (rev 19043)
@@ -269,8 +269,8 @@
 -exec /bin/ash --login
 diff -Naur a/package/base-files/files/etc/banner b/package/base-files/files/etc/banner
 --- a/package/base-files/files/etc/banner	2005-12-20 15:03:08.038259000 +0000
-+++ b/package/base-files/files/etc/banner	2009-02-01 09:30:07.138367448 +0000
-@@ -1,10 +1,2 @@
++++ b/package/base-files/files/etc/banner	2009-03-16 09:24:27.057467560 +0000
+@@ -1,10 +1,26 @@
 -  _______                     ________        __
 - |       |.-----.-----.-----.|  |  |  |.----.|  |_
 - |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
@@ -281,8 +281,32 @@
 -  * 10 oz Triple sec  mixture into 10 shot glasses.
 -  * 10 oz lime juice  Salute!
 - ---------------------------------------------------
-+Tor Virtual Machine BUILDDATE BUILDVER
 +
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++ Tor Virtual Machine - version 0.0.1
++
 diff -Naur a/package/base-files/files/etc/config/fstab b/package/base-files/files/etc/config/fstab
 --- a/package/base-files/files/etc/config/fstab	2007-09-22 13:47:20.783817000 +0000
 +++ b/package/base-files/files/etc/config/fstab	1970-01-01 00:00:00.000000000 +0000
@@ -1229,8 +1253,8 @@
 -tty1::askfirst:/bin/ash --login
 diff -Naur a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit
 --- a/package/base-files/files/etc/preinit	2008-08-14 22:21:35.073308000 +0000
-+++ b/package/base-files/files/etc/preinit	2009-03-16 00:58:48.775587448 +0000
-@@ -1,88 +1,231 @@
++++ b/package/base-files/files/etc/preinit	2009-03-16 09:32:25.894673240 +0000
+@@ -1,88 +1,232 @@
  #!/bin/sh
 -# Copyright (C) 2006 OpenWrt.org
 +# Copyright (C) 2008-2009  The Tor Project, Inc.
@@ -1340,6 +1364,7 @@
 +# last attempt: if no disk exists, assume hda1 and create manually with mknod.
 +hddev=/dev/hda1
 +hdopt="b 3 1"
++hdmntopt="-onoatime,nodiratime"
 +if [ ! -e $hddev ]; then
 +  grep `basename $hddev` /proc/partitions >/dev/null 2>&1
 +  if [ $? -eq 0 ]; then
@@ -1347,7 +1372,7 @@
 +  fi
 +fi
 +mkdir /home
-+if [ -e $hddev ] && mount $hddev /home; then
++if [ -e $hddev ] && mount $hdmntopt $hddev /home; then
 +  # check for saved entropy state and launch update daemon if exists
 +  syshome=/home/system
 +  if [ ! -d $syshome ]; then



More information about the tor-commits mailing list