From: Jason Etheridge <jason@esilibrary.com> Date: Tue, 6 Aug 2013 20:47:25 +0000 (-0400) Subject: installer_installer.sh X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7c6b1121de761bae1b88312ac9ef56f7047e9ba5;p=working%2Frandom.git 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)> --- 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