diskimage-builder/diskimage_builder/elements/opensuse/extra-data.d/01-inject-defaults

16 lines
284 B
Plaintext
Raw Normal View History

#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
export OPENSUSE_EXTRAS_PATH="$TMP_MOUNT_PATH/tmp/opensuse-extras"
mkdir -p $OPENSUSE_EXTRAS_PATH
for file in common-defaults img-defaults ; do
cp $_LIB/$file $OPENSUSE_EXTRAS_PATH
done