
Depends-On: https://review.opendev.org/940561 Change-Id: I691fafc25b377d812d002fae34aef2e0bc8e552a
13 lines
285 B
Bash
Executable File
13 lines
285 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
# Put a timestamp in the image file of the date the image was built.
|
|
# This is echoed into the logs on each run for easy cross-reference
|
|
|
|
date --utc "+%Y-%m-%d %H:%M" > /etc/dib-builddate.txt
|