mirror of
https://tvoygit.ru/Djam/r11-builder-agent.git
synced 2025-02-23 10:22:45 +00:00
trick buildsrpm
This commit is contained in:
parent
22e96d874a
commit
6127663214
1 changed files with 5 additions and 4 deletions
|
@ -290,14 +290,15 @@ do
|
|||
fi
|
||||
fi
|
||||
$MOCK_BIN -v --configdir=$config_dir --buildsrpm --spec=$build_package/${spec_name} --sources=$build_package --no-cleanup-after --no-clean $extra_build_src_rpm_options --resultdir=$OUTPUT_FOLDER
|
||||
rc=${PIPESTATUS[0]}
|
||||
# rc=${PIPESTATUS[0]}
|
||||
python /mdv/check_arch.py "${OUTPUT_FOLDER}"/*.src.rpm ${platform_arch}
|
||||
if [[ $? -ne 0 ]]; then exit 6; fi
|
||||
else
|
||||
$MOCK_BIN -v --configdir=$config_dir --buildsrpm --spec=$build_package/${spec_name} --sources=$build_package --no-cleanup-after $extra_build_src_rpm_options --resultdir=$OUTPUT_FOLDER
|
||||
rc=${PIPESTATUS[0]}
|
||||
python /mdv/check_arch.py "${OUTPUT_FOLDER}"/*.src.rpm ${platform_arch}
|
||||
if [[ $? -ne 0 ]]; then exit 6; fi
|
||||
if [[ $? -ne 0 ]]; then exit 1; fi
|
||||
# rc=${PIPESTATUS[0]}
|
||||
# python /mdv/check_arch.py "${OUTPUT_FOLDER}"/*.src.rpm ${platform_arch}
|
||||
# if [[ $? -ne 0 ]]; then exit 6; fi
|
||||
fi
|
||||
|
||||
try_rebuild=false
|
||||
|
|
Loading…
Add table
Reference in a new issue