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
13 lines
272 B
Bash
Executable File
13 lines
272 B
Bash
Executable File
#!/bin/bash
|
|
# Store build-time environment and command line arguments
|
|
|
|
set -e
|
|
|
|
if [ -e "/tmp/in_target.d/dib_environment" ]; then
|
|
cp /tmp/in_target.d/dib_environment /etc/
|
|
fi
|
|
|
|
if [ -e "/tmp/in_target.d/dib_arguments" ]; then
|
|
cp /tmp/in_target.d/dib_arguments /etc/
|
|
fi
|