mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 05:32:11 +00:00
fix(buildscript): use reconfigure instead of rebuild
Reconfigure starts one stage before rebuild, just to be safe. It is the earliest step after the source download and patching. Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
This commit is contained in:
@@ -300,7 +300,9 @@ build_config() {
|
||||
echo "============================================"
|
||||
echo
|
||||
for pkg in "${ALWAYS_REBUILD_PKGS[@]}"; do
|
||||
if ! run_cmd make "${pkg}-rebuild"; then
|
||||
# Reconfigure starts one stage before rebuild, just to be safe.
|
||||
# It is the earliest step after the source download and patching.
|
||||
if ! run_cmd make "${pkg}-reconfigure"; then
|
||||
build_config_failed "$config" "$arch" "$log_file"
|
||||
return 1
|
||||
fi
|
||||
@@ -337,7 +339,9 @@ build_config() {
|
||||
echo "============================================"
|
||||
echo
|
||||
for pkg in "${ALWAYS_REBUILD_PKGS[@]}"; do
|
||||
if ! run_cmd make "${pkg}-rebuild"; then
|
||||
# Reconfigure starts one stage before rebuild, just to be safe.
|
||||
# It is the earliest step after the source download and patching.
|
||||
if ! run_cmd make "${pkg}-reconfigure"; then
|
||||
build_config_failed "$config" "$arch" "$log_file"
|
||||
return 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user