0cfecd1024
This will write two files in /etc/ that contain the environment and command line arguments used in the creation of an image. This should assist with later efforts to repeat the creation of an image. Change-Id: Icdbe6693380bed6c406feee10d2cb1a88a992932
9 lines
257 B
Bash
Executable file
9 lines
257 B
Bash
Executable file
#!/bin/bash
|
|
# Store the build-time environment and command line arguments
|
|
|
|
set -e
|
|
source $_LIB/die
|
|
[ -n "$TMP_HOOKS_PATH." ] || die "Temp hook path not set"
|
|
|
|
echo "$DIB_ENV" > $TMP_HOOKS_PATH/dib_environment
|
|
echo "$DIB_ARGS" > $TMP_HOOKS_PATH/dib_arguments
|