From 8ec4ef868a0ff4cdf274d4f41bab145fa90a0db7 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 11 Jan 2018 10:01:47 +0100 Subject: bin/build-packages: additional straw to skip check() (not tried by default) --- bin/build-packages | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/build-packages b/bin/build-packages index ae75b7b..0648db3 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -313,6 +313,7 @@ while [ "${count}" -ne 0 ]; do else build_command='staging-i686-build' fi + if echo "${straw}" | \ grep -qF ':clean_chroot:'; then parameters='-c' @@ -320,6 +321,11 @@ while [ "${count}" -ne 0 ]; do parameters='' fi + if echo "${straw}" | \ + grep -qF ':without_check:'; then + parameters="${parameters} -- -- --nocheck" + fi + find . -maxdepth 1 -type f \( -name '*.pkg.tar.xz' -o -name '*.pkg.tar.xz.sig' \) -exec \ rm {} \; @@ -332,7 +338,7 @@ while [ "${count}" -ne 0 ]; do "${straw}" # by piping the log, we don't see anything in the terminal, # but all ways to duplicate the logs seem pretty elaborate - # shellcheck disable=SC2024 + # shellcheck disable=SC2024,SC2086 if sudo "${build_command}" ${parameters} > \ "$( date -u --iso-8601=seconds | \ -- cgit v1.2.3-70-g09d2