diskimage-builder/elements/base/install.d/50-store-build-settings

14 lines
293 B
Text
Raw Normal View History

#!/bin/bash
# Store build-time environment and command line arguments
set -eu
set -o pipefail
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