From 2fd9204db5b0bcdf6e26cf4dc7e26d00040583fb Mon Sep 17 00:00:00 2001 From: Chris Punches Date: Sat, 10 Feb 2024 13:05:21 -0500 Subject: [PATCH] reverting user params until rex is sorted out with interpolation --- .../components/stage1/check_dependencies.bash | 109 ------------------ rex.project/x86_64/units/stage1.units | 28 ++--- 2 files changed, 14 insertions(+), 123 deletions(-) diff --git a/rex.project/x86_64/components/stage1/check_dependencies.bash b/rex.project/x86_64/components/stage1/check_dependencies.bash index c2138bd..2f8f040 100755 --- a/rex.project/x86_64/components/stage1/check_dependencies.bash +++ b/rex.project/x86_64/components/stage1/check_dependencies.bash @@ -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 diff --git a/rex.project/x86_64/units/stage1.units b/rex.project/x86_64/units/stage1.units index c7d865c..d43bf68 100644 --- a/rex.project/x86_64/units/stage1.units +++ b/rex.project/x86_64/units/stage1.units @@ -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" }