Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3912312
D863.id2190.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D863.id2190.diff
View Options
diff --git a/roles/shellserver/odderon/code.sls b/roles/shellserver/odderon/code.sls
--- a/roles/shellserver/odderon/code.sls
+++ b/roles/shellserver/odderon/code.sls
@@ -20,8 +20,8 @@
- unless: test -f /opt/odderon/LOCKED
darkbot_build:
- cmd.run:
- - name: sh build.sh
+ cmd.script:
+ - source: salt://roles/shellserver/odderon/files/build.sh
- cwd: /opt/darkbot
- runas: odderon
- require:
diff --git a/roles/shellserver/odderon/files/build.sh b/roles/shellserver/odderon/files/build.sh
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/odderon/files/build.sh
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# Salt — Deploy Odderon (darkbot)
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-01-25
+# Authors: David Seikel, Dereckson
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+PREFIX=/opt/odderon
+
+test ! -r build/configure && sh bootstrap.sh
+
+cd build
+sh configure -C --prefix=$PREFIX "$@"
+make
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 05:19 (19 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2307237
Default Alt Text
D863.id2190.diff (1 KB)
Attached To
Mode
D863: Customize darkbot build process
Attached
Detach File
Event Timeline
Log In to Comment