Browse Source

run reprepro's processincoming cmdline also with --ignore=wrongdistribution + --waitforlock option

We're using this every else, so use it consequently...

Thanks: Axel Beckert <abe@deuxchevaux.org> for the hint
merge-requests/109/head
Michael Prokop 10 years ago
parent
commit
465be62ac1
  1. 3
      scripts/build-and-provide-package

3
scripts/build-and-provide-package

@ -433,7 +433,8 @@ EOF
local old_dir=$(pwd)
cd "${REPOSITORY}/incoming/${release}"
${SUDO_CMD:-} reprepro -v -b "${REPOSITORY}" processincoming "${release}" "$(basename ${WORKSPACE}/binaries/*.changes)"
${SUDO_CMD:-} reprepro -v -b "${REPOSITORY}" --waitforlock 1000 --ignore=wrongdistribution \
processincoming "${release}" "$(basename ${WORKSPACE}/binaries/*.changes)"
local RC=$?
cd "$old_dir"

Loading…
Cancel
Save