From 50cbd8c418553620ceb00f7cdd92ea3edb2f60f8 Mon Sep 17 00:00:00 2001 From: Yura Zenevich Date: Thu, 11 Apr 2013 14:39:39 -0400 Subject: [PATCH 1/4] Pilot Testing: Updated the build script to point to the correct pilot branch of universal. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 97ce9b0..f5b7003 100755 --- a/build.sh +++ b/build.sh @@ -32,7 +32,7 @@ if [ -d $universal ]; then else echo "$universal does not exist" echo "cloning universal" - git clone "$repoURL" "$universal" + git clone "$repoURL" -b pilot "$universal" cd $universal npm install cd $currentDir From 7f1d5a8052354d035bafe4e0453c0cf633274c60 Mon Sep 17 00:00:00 2001 From: Kasper Markus Date: Mon, 22 Apr 2013 22:57:49 +0200 Subject: [PATCH 2/4] SP-19: Created startup scripts for linux branch --- start_RB.sh | 20 ++++++++++++++++++++ start_ST.sh | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 start_RB.sh create mode 100644 start_ST.sh diff --git a/start_RB.sh b/start_RB.sh new file mode 100644 index 0000000..5934f3a --- /dev/null +++ b/start_RB.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +# GPII Linux Startup Script +# +# Copyright 2012 OCAD University +# +# Licensed under the New BSD license. You may not use this file except in +# compliance with this License. +# +# You may obtain a copy of the License at +# https://github.com/gpii/universal/LICENSE.txt + +export NODE_ENV="rule.based.mm.production" + +fileName="gpii.js" + +# Start the Flow Manager +node "$fileName" $1 + +export NODE_ENV="" diff --git a/start_ST.sh b/start_ST.sh new file mode 100644 index 0000000..77fc6f5 --- /dev/null +++ b/start_ST.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +# GPII Linux Startup Script +# +# Copyright 2012 OCAD University +# +# Licensed under the New BSD license. You may not use this file except in +# compliance with this License. +# +# You may obtain a copy of the License at +# https://github.com/gpii/universal/LICENSE.txt + +export NODE_ENV="deployment.statistical.mm" + +fileName="gpii.js" + +# Start the Flow Manager +node "$fileName" $1 + +export NODE_ENV="" From ae0d791dd7d8e3623e6c33280ba9d2c132be0893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Hern=C3=A1ndez?= Date: Thu, 25 Apr 2013 03:13:21 +0200 Subject: [PATCH 3/4] Fixing RB and ST start scripts deployment.statistical.mm.json -> statistical.mm.production.json see commit: https://github.com/GPII/universal/commit/8d51f42ccb92dd94e06373a6833061f1c70cce57 Marking the RB and ST start scripts as executable files --- start_RB.sh | 0 start_ST.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 start_RB.sh mode change 100644 => 100755 start_ST.sh diff --git a/start_RB.sh b/start_RB.sh old mode 100644 new mode 100755 diff --git a/start_ST.sh b/start_ST.sh old mode 100644 new mode 100755 index 77fc6f5..221170b --- a/start_ST.sh +++ b/start_ST.sh @@ -10,7 +10,7 @@ # You may obtain a copy of the License at # https://github.com/gpii/universal/LICENSE.txt -export NODE_ENV="deployment.statistical.mm" +export NODE_ENV="statistical.mm.production" fileName="gpii.js" From 6c765bc29ed6f557b4bb2d35dce63f5fbf5fd378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Hern=C3=A1ndez?= Date: Mon, 20 May 2013 21:55:48 +0200 Subject: [PATCH 4/4] GPII-78: USB Listener for Linux is unresponsive see JIRA: http://issues.gpii.net/browse/GPII-78 Removed the "partition number" restriction from the GPII's udev rule. --- usbDriveListener/80-gpii.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usbDriveListener/80-gpii.rules b/usbDriveListener/80-gpii.rules index 790cafd..d4d5289 100644 --- a/usbDriveListener/80-gpii.rules +++ b/usbDriveListener/80-gpii.rules @@ -1,2 +1,2 @@ -KERNEL=="sd[a-z][0-9]", SUBSYSTEM=="block", SUBSYSTEMS=="usb", ACTION=="add", RUN+="/usr/local/gpii/bin/trigger.sh 1 /dev/%k" -KERNEL=="sd[a-z][0-9]", SUBSYSTEM=="block", SUBSYSTEMS=="usb", ACTION=="remove", RUN+="/usr/local/gpii/bin/trigger.sh 0 /dev/%k" +KERNEL=="sd[a-z]", SUBSYSTEM=="block", SUBSYSTEMS=="usb", ACTION=="add", RUN+="/usr/local/gpii/bin/trigger.sh 1 /dev/%k" +KERNEL=="sd[a-z]", SUBSYSTEM=="block", SUBSYSTEMS=="usb", ACTION=="remove", RUN+="/usr/local/gpii/bin/trigger.sh 0 /dev/%k"