updated user/group execution context flow based on new features in rex
parent
07939eb9ec
commit
94f1da7fbf
|
@ -58,8 +58,9 @@ dir_rex=${project_root}/rex.project
|
||||||
# the sysroot being created
|
# the sysroot being created
|
||||||
dir_sysroot=${dir_artifacts}/T_SYSROOT
|
dir_sysroot=${dir_artifacts}/T_SYSROOT
|
||||||
|
|
||||||
user="phanes"
|
# set this manually because rex runs as root for its setgid/setuid
|
||||||
group="phanes"
|
build_user="bagira"
|
||||||
|
build_group="bagira"
|
||||||
|
|
||||||
# if we're being supplied parameters we assume it's being called by make
|
# if we're being supplied parameters we assume it's being called by make
|
||||||
# and need to recall make with all appropriate vars set
|
# and need to recall make with all appropriate vars set
|
||||||
|
|
|
@ -44,3 +44,8 @@ echo -e "\e[31m$HORSE\e[0m"
|
||||||
echo
|
echo
|
||||||
echo "Welcome to Pyrois, the build system for Dark Horse Linux."
|
echo "Welcome to Pyrois, the build system for Dark Horse Linux."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
echo running as: $build_user:$build_group
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"required": true,
|
"required": true,
|
||||||
"set_user_context": true,
|
"set_user_context": true,
|
||||||
"user": "phanes",
|
"user": "$build_user",
|
||||||
"group": "phanes",
|
"group": "$build_group",
|
||||||
"supply_environment": true,
|
"supply_environment": true,
|
||||||
"environment": "environments/stage1.env.bash"
|
"environment": "environments/stage1.env.bash"
|
||||||
},
|
},
|
||||||
|
@ -49,8 +49,8 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"required": true,
|
"required": true,
|
||||||
"set_user_context": true,
|
"set_user_context": true,
|
||||||
"user": "phanes",
|
"user": "$build_user",
|
||||||
"group": "phanes",
|
"group": "$build_group",
|
||||||
"supply_environment": true,
|
"supply_environment": true,
|
||||||
"environment": "environments/stage1.env.bash"
|
"environment": "environments/stage1.env.bash"
|
||||||
},
|
},
|
||||||
|
@ -67,8 +67,8 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"required": true,
|
"required": true,
|
||||||
"set_user_context": true,
|
"set_user_context": true,
|
||||||
"user": "phanes",
|
"user": "$build_user",
|
||||||
"group": "phanes",
|
"group": "$build_group",
|
||||||
"supply_environment": true,
|
"supply_environment": true,
|
||||||
"environment": "environments/stage1.env.bash"
|
"environment": "environments/stage1.env.bash"
|
||||||
},
|
},
|
||||||
|
@ -85,8 +85,8 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"required": true,
|
"required": true,
|
||||||
"set_user_context": true,
|
"set_user_context": true,
|
||||||
"user": "phanes",
|
"user": "$build_user",
|
||||||
"group": "phanes",
|
"group": "$build_group",
|
||||||
"supply_environment": true,
|
"supply_environment": true,
|
||||||
"environment": "environments/stage1.env.bash"
|
"environment": "environments/stage1.env.bash"
|
||||||
},
|
},
|
||||||
|
@ -103,8 +103,8 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"required": true,
|
"required": true,
|
||||||
"set_user_context": true,
|
"set_user_context": true,
|
||||||
"user": "phanes",
|
"user": "$build_user",
|
||||||
"group": "phanes",
|
"group": "$build_group",
|
||||||
"supply_environment": true,
|
"supply_environment": true,
|
||||||
"environment": "environments/stage1.env.bash"
|
"environment": "environments/stage1.env.bash"
|
||||||
},
|
},
|
||||||
|
@ -121,8 +121,8 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"required": true,
|
"required": true,
|
||||||
"set_user_context": true,
|
"set_user_context": true,
|
||||||
"user": "phanes",
|
"user": "$build_user",
|
||||||
"group": "phanes",
|
"group": "$build_group",
|
||||||
"supply_environment": true,
|
"supply_environment": true,
|
||||||
"environment": "environments/stage1.env.bash"
|
"environment": "environments/stage1.env.bash"
|
||||||
},
|
},
|
||||||
|
@ -139,8 +139,8 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"required": true,
|
"required": true,
|
||||||
"set_user_context": true,
|
"set_user_context": true,
|
||||||
"user": "phanes",
|
"user": "$build_user",
|
||||||
"group": "phanes",
|
"group": "$build_group",
|
||||||
"supply_environment": true,
|
"supply_environment": true,
|
||||||
"environment": "environments/stage1.env.bash"
|
"environment": "environments/stage1.env.bash"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue