Commit 76c6b57d authored by Kirk Webb's avatar Kirk Webb

Shuffle some commands around.

Put fix up some ordering and change variable definitions a bit to be more
amenable to autoconf.
parent 635bcc77
......@@ -58,6 +58,9 @@ runcmd schtasks.exe ;; /change /TN "\Microsoft\Windows\Defrag\ScheduledDefrag" /
log Enabling Remote Desktop Protocol connections
addreg HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server ;; fDenyTSConnections ;; Dword ;; 0
log Creating local root user
adduser root ;; %rootpass% ;; makeadmin
# XXX: Ugh... Something still doesn't work here.
log Setting up the clock
addreg HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation ;; RealTimeIsUniversal ;; Dword ;; 1
......@@ -66,6 +69,3 @@ runcmd sc.exe ;; config w32time start= auto ;; 0
runcmd tzutil.exe ;; /s "Mountain Standard Time" ;; 0
#runcmd net.exe ;; start w32time ;; 0
runcmd w32tm.exe ;; /config /manualpeerlist:%ntpserver% /syncfromflags:manual /update ;; 0
log Creating local root user
adduser root ;; %rootpass% ;; makeadmin
......@@ -13,10 +13,9 @@ defvar setup_exec ;; setup.exe
defvar elab_dld ;; http://www.emulab.net/downloads
defvar pubsub_tarball ;; pubsub-0.95.tar.gz
defvar pubsubsrc ;; pubsub-0.95
defvar fluxgit ;; http://git-public.flux.utah.edu/git
defvar elabdevrepo ;; emulab-devel.git
defvar elabsrc ;; %swdir%\Emulab
defvar gitdir ;; emulab-devel
defvar elabgit ;; http://git-public.flux.utah.edu/git/emulab-devel.git
defvar elabsw ;; %swdir%\Emulab
defvar gitdest ;; emulab-devel
# The list of Cygwin packages to install.
defvar cyg_pkgs ;; boost-devel,bison,byacc,cygrunsrv,flex,gawk,gcc4,g++4,inetutils,make,openssh,openssl-devel,perl,psmisc,python,shutdown,swig,sysvinit,tcsh,util-linux,w32api,bc,cvs,ed,emacs,file,gdb,git,nano,nc,patch,rcs,rpm,rsync,rxvt,subversion,vim,wget,unzip,zip
......@@ -59,11 +58,13 @@ runcyg echo -e '#!/bin/sh\n$*\n' > /bin/sudo && chmod a+rx /bin/sudo ;; 0
log Adding security rights to root account
runcyg editrights -u root -a SeCreateTokenPrivilege -a SeAssignPrimaryTokenPrivilege -a SeIncreaseQuotaPrivilege -a SeServiceLogonRight -l ;; 0
log Downloading Emulab source
log Downloading pubsub source
mkdir %elabsrc%
getfile %elab_dld%/%pubsub_tarball% ;; %elabsrc%\%pubsub_tarball%
runcyg git clone -q %fluxgit%/%elabdevrepo% '%elabsrc%\%gitdir%' ;; 0
log Unpacking pubsub source and building
runcyg cd '%elabsrc%' && tar -zxf %pubsub_tarball% ;; 0
runcyg cd '%elabsrc%\%pubsubsrc%' && touch .noelvin && make && make install ;; 0
runcyg cd '%elabsw%' && tar -zxf %pubsub_tarball% ;; 0
runcyg cd '%elabsw%\%pubsubsrc%' && touch .noelvin && make && make install ;; 0
log Cloning Emulab source (git)
runcyg git clone -q %elabgit% '%elabsw%\%gitdest%' ;; 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment