|
|
|
@ -7,9 +7,25 @@ RELENG_XORRISO=0
|
|
|
|
|
SIMULATE_FAILURE=0 |
|
|
|
|
CLEANUP=1 |
|
|
|
|
SPECIFIC_HELP=0 |
|
|
|
|
|
|
|
|
|
START_DIR_DONT_CHANGE=`pwd` |
|
|
|
|
GEN_DATA_DIR=releng_generated_data/${SELF} |
|
|
|
|
RELENG_STANDALONE=1 |
|
|
|
|
RELENG_PARENT=`ps -p $PPID -o comm=` |
|
|
|
|
|
|
|
|
|
############################################# |
|
|
|
|
standalone_or_supervised() { |
|
|
|
|
if test x"$RELENG_PARENT" = x"run_all_auto" |
|
|
|
|
then |
|
|
|
|
echo "${SELF}: Running Supervised by ${RELENG_PARENT}" |
|
|
|
|
RELENG_STANDALONE=0 |
|
|
|
|
else |
|
|
|
|
echo "${SELF}: Running Standalone" |
|
|
|
|
RELENG_STANDALONE=1 |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# Unconditionally initialize the invocation mode - standalone or supervised |
|
|
|
|
standalone_or_supervised |
|
|
|
|
|
|
|
|
|
############################################# |
|
|
|
|
print_help() { |
|
|
|
@ -27,10 +43,12 @@ General options:
|
|
|
|
|
EOF |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
############################################# |
|
|
|
|
boldify() { |
|
|
|
|
if which tput >/dev/null 2>&1; then tput smso; fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
############################################# |
|
|
|
|
unboldify() { |
|
|
|
|
if which tput >/dev/null 2>&1; then tput rmso; fi |
|
|
|
|
} |
|
|
|
@ -85,7 +103,6 @@ cleanup() {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
############################################# |
|
|
|
|
|
|
|
|
|
check_for_xorriso() { |
|
|
|
|
# $1: if "-x" then check executability |
|
|
|
|
|
|
|
|
|