Disable onixs for sdk sparkd
This commit is contained in:
1 parent
950073703f
commit
88e17743ef
3 files changed
+16
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import sys
|
||||
f = open(sys.argv[1], 'rb+')
|
||||
license = '5E50A1DACD94D7C1BECD316EEAE5AB02'
|
||||
data = f.read()
|
||||
match = data.find(license)
|
||||
if match > 0:
|
||||
f.seek(match)
|
||||
f.write('DEAD'*8)
|
||||
exit(0)
|
||||
exit(-1)
|
||||
|
||||
@@ -35,6 +35,7 @@ cp $2/update_github.sh $1/sdk/update_github.sh
|
||||
cp $2/Dockerfile $1/sdk/
|
||||
cp $2/sdk_spark.conf $1/sdk/spark.conf
|
||||
cp $2/README.md $1/sdk/README.md
|
||||
cp $2/disable_onixs.py $1/sdk/disable_onixs.py
|
||||
|
||||
chmod +x $1/sdk/examples/build_examples.sh
|
||||
chmod +x $1/sdk/examples/*/build.sh
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# This script used to only update github
|
||||
# it shoudl be called "publish_sdk" but
|
||||
@@ -37,6 +38,7 @@ pushd $STAGE/$SDK
|
||||
rm ./examples/md_publisher_example
|
||||
rm ./examples/order_plugin_example.so
|
||||
rm ./lib/data_files/cert_secure_logon.txt
|
||||
./disable_onixs.py ./lib/libspar.so
|
||||
rm -r ./externals/lib/libonixs*
|
||||
rm -r ./externals/include/OnixS/
|
||||
rm -r ./externals/lib/celoxica/
|
||||
|
||||
Reference in new issue
Block a user