installer_installer.sh
authorJason Etheridge <jason@esilibrary.com>
Tue, 6 Aug 2013 20:47:25 +0000 (16:47 -0400)
committerJason Etheridge <jason@esilibrary.com>
Tue, 6 Aug 2013 20:47:25 +0000 (16:47 -0400)
So with a minimal wheezy install that has sudo and NOPASSWD: for the target user
in /etc/sudoers, you can run installer_installer.sh to bootstrap things further.

I'm doing something like this from outside my wheezy install:

scp installer_installer.sh esi@192.168.2.112:/home/esi/
ssh esi@192.168.2.112 /home/esi/installer_installer.sh

This commit also adds  make livecheck  for src/perlmods to the -t action.

Signed-off-by: Jason Etheridge <phasefx@vubuntufx.(none)>
installer/wheezy/eg_wheezy_installer.sh
installer/wheezy/installer_installer.sh [new file with mode: 0755]

index a4e33f6..92e1ea4 100755 (executable)
@@ -302,7 +302,8 @@ if [ $LIVETEST ]; then
     cd /home/opensrf/Evergreen
     echo Running pgTAP tests
     su - postgres -c 'cd /home/opensrf/Evergreen ; pg_prove -vr -d evergreen Open-ILS/src/sql/Pg/t/'
-
+    echo Running perl tests
+    su - opensrf -c 'cd /home/opensrf/Evergreen/Open-ILS/src/perlmods/ ; make livecheck'
 else
     cat <<EOF
 * Test the system
diff --git a/installer/wheezy/installer_installer.sh b/installer/wheezy/installer_installer.sh
new file mode 100755 (executable)
index 0000000..b487392
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+sudo apt-get -q -y install git-core
+git clone git://git.evergreen-ils.org/working/random.git
+cd random/
+git checkout -b wheezy origin/collab/phasefx/wheezy_installer
+cd installer/wheezy
+time sudo ./eg_wheezy_installer.sh -y -a -s -t