diff --git a/build.sh b/build.sh index 97dcf56..b273ce4 100755 --- a/build.sh +++ b/build.sh @@ -1,18 +1,24 @@ #!/bin/bash -e +run_debconf() { + if [ -f "${1}" ]; then + log "Begin ${1}" + + on_chroot << EOF +debconf-set-selections < /dev/null for i in {00..99}; do - if [ -f ${i}-debconf ]; then - log "Begin ${SUB_STAGE_DIR}/${i}-debconf" - on_chroot << EOF -debconf-set-selections <