36 lines
580 B
Bash
Executable File
36 lines
580 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# devstack/build.sh
|
|
# Run DevStack plugin builds
|
|
|
|
set -o xtrace
|
|
|
|
unset LANG
|
|
unset LANGUAGE
|
|
LC_ALL=en_US.utf8
|
|
export LC_ALL
|
|
|
|
# Keep track of the DevStack plugin directory
|
|
PLUGIN_DIR=$(cd $(dirname "$0")/.. && pwd)
|
|
PLUGIN_NAME=$(basename $PLUGIN_DIR)
|
|
|
|
# Keep plugin happy
|
|
declare -a GITDIR
|
|
GITDIR[$PLUGIN_NAME]=$PLUGIN_DIR
|
|
|
|
# Dummy function to keep plugin happy
|
|
function get_python_exec_prefix {
|
|
echo ""
|
|
}
|
|
|
|
function is_service_enabled {
|
|
return 0
|
|
}
|
|
|
|
# Get the build functions
|
|
source $PLUGIN_DIR/devstack/lib/stx-fault
|
|
|
|
# Call builds
|
|
build_fm_common
|
|
build_fm_mgr
|