diskimage-builder/elements/package-installs/pre-install.d/02-package-installs
Gregory Haynes 40799839e0 Package installs defaults to tracing off
There isn't a good reason we should be defaulting to trace on for these
scripts.

Change-Id: I1b9ac9388f51a49e6912d800914a0e0f2faec604
2015-12-20 00:03:51 +00:00

10 lines
196 B
Bash
Executable file

#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
package-installs -d $(dirname $0)
package-installs-v2 --phase pre-install.d /tmp/package-installs.json