reverting user params until rex is sorted out with interpolation
parent
8e19ee2c68
commit
2fd9204db5
|
@ -4,115 +4,6 @@ set -u
|
|||
|
||||
export LC_ALL=C
|
||||
|
||||
|
||||
echo
|
||||
echo "Checking /bin/sh path"
|
||||
MYSH=$(readlink -f /bin/sh)
|
||||
echo "/bin/sh -> $MYSH"
|
||||
echo $MYSH | grep -q bash || echofail "/bin/sh does not point to bash"
|
||||
unset MYSH
|
||||
|
||||
echo
|
||||
echo "Checking binutils..."
|
||||
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
|
||||
bison --version | head -n1
|
||||
|
||||
echo
|
||||
echo "Checking yacc..."
|
||||
if [ -h /usr/bin/yacc ]; then
|
||||
echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`";
|
||||
elif [ -x /usr/bin/yacc ]; then
|
||||
cat > /usr/bin/yacc << "EOF"
|
||||
#!/bin/sh
|
||||
# Begin /usr/bin/yacc
|
||||
|
||||
/usr/bin/bison -y $*
|
||||
|
||||
# End /usr/bin/yacc
|
||||
EOF
|
||||
chmod 755 /usr/bin/yacc
|
||||
else
|
||||
echofail "yacc not found"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
echo
|
||||
echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
|
||||
diff --version | head -n1
|
||||
find --version | head -n1
|
||||
gawk --version | head -n1
|
||||
|
||||
if [ -h /usr/bin/awk ]; then
|
||||
echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`";
|
||||
elif [ -x /usr/bin/awk ]; then
|
||||
echo awk is `/usr/bin/awk --version | head -n1`
|
||||
else
|
||||
echofail "awk not found"
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Checking GCC..."
|
||||
gcc --version | head -n1
|
||||
|
||||
echo
|
||||
echo "Checking G++..."
|
||||
g++ --version | head -n1
|
||||
|
||||
echo
|
||||
echo "Checking grep..."
|
||||
grep --version | head -n1
|
||||
|
||||
echo
|
||||
echo "Checking gzip..."
|
||||
gzip --version | head -n1
|
||||
|
||||
echo
|
||||
echo "Checking /proc/version..."
|
||||
cat /proc/version
|
||||
|
||||
echo
|
||||
echo "Checking m4..."
|
||||
m4 --version | head -n1
|
||||
|
||||
echo
|
||||
echo "Checking make..."
|
||||
make --version | head -n1
|
||||
|
||||
echo
|
||||
echo "Checking patch..."
|
||||
patch --version | head -n1
|
||||
|
||||
echo
|
||||
echo "Checking perl..."
|
||||
echo Perl `perl -V:version`
|
||||
|
||||
echo
|
||||
echo "Checking python..."
|
||||
python3 --version
|
||||
|
||||
echo
|
||||
echo "Checking sed..."
|
||||
sed --version | head -n1
|
||||
|
||||
echo
|
||||
echo "Checking tar..."
|
||||
tar --version | head -n1
|
||||
|
||||
echo
|
||||
echo "Checking makeinfo..."
|
||||
makeinfo --version | head -n1
|
||||
retVal=${PIPESTATUS[0]}
|
||||
|
||||
if [ $retVal -ne 0 ]; then
|
||||
echofail "Could not check makeinfo version...(yum -y install texinfo)"
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Checking xz..."
|
||||
xz --version | head -n1
|
||||
|
||||
|
||||
pushd /tmp
|
||||
rm -fv dummy*
|
||||
echo
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
"active": true,
|
||||
"required": true,
|
||||
"set_user_context": true,
|
||||
"user": "$build_user",
|
||||
"group": "$build_group",
|
||||
"user": "bagira",
|
||||
"group": "bagira",
|
||||
"supply_environment": true,
|
||||
"environment": "environments/stage1.env.bash"
|
||||
},
|
||||
|
@ -49,8 +49,8 @@
|
|||
"active": true,
|
||||
"required": true,
|
||||
"set_user_context": true,
|
||||
"user": "$build_user",
|
||||
"group": "$build_group",
|
||||
"user": "bagira",
|
||||
"group": "bagira",
|
||||
"supply_environment": true,
|
||||
"environment": "environments/stage1.env.bash"
|
||||
},
|
||||
|
@ -67,8 +67,8 @@
|
|||
"active": true,
|
||||
"required": true,
|
||||
"set_user_context": true,
|
||||
"user": "$build_user",
|
||||
"group": "$build_group",
|
||||
"user": "bagira",
|
||||
"group": "bagira",
|
||||
"supply_environment": true,
|
||||
"environment": "environments/stage1.env.bash"
|
||||
},
|
||||
|
@ -85,8 +85,8 @@
|
|||
"active": true,
|
||||
"required": true,
|
||||
"set_user_context": true,
|
||||
"user": "$build_user",
|
||||
"group": "$build_group",
|
||||
"user": "bagira",
|
||||
"group": "bagira",
|
||||
"supply_environment": true,
|
||||
"environment": "environments/stage1.env.bash"
|
||||
},
|
||||
|
@ -103,8 +103,8 @@
|
|||
"active": true,
|
||||
"required": true,
|
||||
"set_user_context": true,
|
||||
"user": "$build_user",
|
||||
"group": "$build_group",
|
||||
"user": "bagira",
|
||||
"group": "bagira",
|
||||
"supply_environment": true,
|
||||
"environment": "environments/stage1.env.bash"
|
||||
},
|
||||
|
@ -121,8 +121,8 @@
|
|||
"active": true,
|
||||
"required": true,
|
||||
"set_user_context": true,
|
||||
"user": "$build_user",
|
||||
"group": "$build_group",
|
||||
"user": "bagira",
|
||||
"group": "bagira",
|
||||
"supply_environment": true,
|
||||
"environment": "environments/stage1.env.bash"
|
||||
},
|
||||
|
@ -139,8 +139,8 @@
|
|||
"active": true,
|
||||
"required": true,
|
||||
"set_user_context": true,
|
||||
"user": "$build_user",
|
||||
"group": "$build_group",
|
||||
"user": "bagira",
|
||||
"group": "bagira",
|
||||
"supply_environment": true,
|
||||
"environment": "environments/stage1.env.bash"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue