8346115bf9
This script is not run by dib unless it is executable. Change-Id: Ic7658cd229dba5635a4ea445f0c62d9f22198729
9 lines
375 B
Bash
Executable File
9 lines
375 B
Bash
Executable File
#!/bin/bash
|
|
# Note that this relies on the detail that all elements share one dir
|
|
# inside the chroot. This will copy all the files that elements have
|
|
# added to element/os-config-applier into the appropriate location.
|
|
set -eux
|
|
TEMPLATE_ROOT=$(os-config-applier --print-templates)
|
|
TEMPLATE_SOURCE=$(dirname $0)/../os-config-applier
|
|
rsync -r $TEMPLATE_SOURCE/ $TEMPLATE_ROOT/
|