From 7c6b1121de761bae1b88312ac9ef56f7047e9ba5 Mon Sep 17 00:00:00 2001
From: Jason Etheridge <jason@esilibrary.com>
Date: Tue, 6 Aug 2013 16:47:25 -0400
Subject: [PATCH] installer_installer.sh

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 | 3 ++-
 installer/wheezy/installer_installer.sh | 7 +++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100755 installer/wheezy/installer_installer.sh

diff --git a/installer/wheezy/eg_wheezy_installer.sh b/installer/wheezy/eg_wheezy_installer.sh
index a4e33f6f4..92e1ea45a 100755
--- a/installer/wheezy/eg_wheezy_installer.sh
+++ b/installer/wheezy/eg_wheezy_installer.sh
@@ -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
index 000000000..b4873927e
--- /dev/null
+++ b/installer/wheezy/installer_installer.sh
@@ -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
-- 
2.11.0