Commit e2708d93 authored by Seblu's avatar Seblu
Browse files

archbuild: Override default makechrootpkg args

As we don't have a way to remove arguments, we need to be able to override
default arguments given to makechrootpkg. In particular to remove the -c
argument which "clean" the <chrootdir>/copy chroot, to have a fast rebuild
path to packages.

This speed up a lot multiple testing build
parent cc61bb84
......@@ -45,8 +45,8 @@ done
check_root "$0" "${orig_argv[@]}"
# Pass all arguments after -- right to makepkg
# Override default makechrootpkg arguments when specified
[[ -n ${@:$OPTIND} ]] && makechrootpkg_args=("${@:$OPTIND}")
if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then
msg "Creating chroot for [${repo}] (${arch})..."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment