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

13 lines
272 B
Plaintext
Raw Normal View History

#!/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