diff --git a/debian/tests/default-bootstraps b/debian/tests/default-bootstraps index e5ef020a..62a71976 100755 --- a/debian/tests/default-bootstraps +++ b/debian/tests/default-bootstraps @@ -78,7 +78,8 @@ live_build_rootfs() { echo "" } -WORKDIR=$(mktemp -d) +[ -d /adt ] || mkdir /adt +WORKDIR=$(mktemp -d -p /adt) trap "RET=\$?; rm -rf $WORKDIR; exit \$RET" 0 INT QUIT ABRT PIPE TERM cd $WORKDIR