first step at itemizing dependency checks

Chris Punches 2024-02-09 01:25:47 -05:00
parent 94f1da7fbf
commit 1f9ca13476
3 changed files with 22 additions and 14 deletions

View File

@ -47,6 +47,10 @@ download_patches:
set -e
${dir_make}/download_patches.sh
dependencies:
set -e
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/dependencies.sh"
# kicks off rex
build_stage1:
set -e
@ -121,6 +125,7 @@ all:
make clean && \
make dirs && \
make install_rex && \
make dependencies && \
make download_patches && \
make download_sources && \
make build_stage1 && \

View File

@ -44,7 +44,10 @@ echo -e "\e[31m$HORSE\e[0m"
echo
echo "Welcome to Pyrois, the build system for Dark Horse Linux."
echo
>&2 echo
>&2 echo STDERR Pipe Check:
>&2 echo The welcome screen ran, and echoed this to stderr
>&2 echo
echo running as: $build_user:$build_group
echo
echo

View File

@ -1,23 +1,23 @@
{
"units": [
{
"name": "welcome",
"target": "components/stage1/welcome.bash",
"units": [
{
"name": "welcome",
"target": "components/stage1/welcome.bash",
"is_shell_command": true,
"shell_definition": "bash",
"force_pty": true,
"set_working_directory": false,
"working_directory": "",
"rectify": false,
"rectifier": "",
"active": true,
"required": true,
"set_user_context": true,
"user": "$build_user",
"group": "$build_group",
"rectify": false,
"rectifier": "",
"active": true,
"required": true,
"set_user_context": true,
"user": "$build_user",
"group": "$build_group",
"supply_environment": true,
"environment": "environments/stage1.env.bash"
},
"environment": "environments/stage1.env.bash"
},
{
"name": "check dependencies",
"target": "components/stage1/check_dependencies.bash",