884ab16968
Change last references to os-config-applier (scripts, file names and documentation) in os-apply-config element. Change-Id: Ifa46522a48668adcef0d1fd5d28d2fc85141dce5
11 lines
441 B
Bash
Executable File
11 lines
441 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-apply-config into the appropriate location.
|
|
set -eux
|
|
TEMPLATE_ROOT=$(os-apply-config --print-templates)
|
|
TEMPLATE_SOURCE=$(dirname $0)/../os-apply-config
|
|
|
|
mkdir -p $TEMPLATE_ROOT
|
|
[ -d $TEMPLATE_SOURCE ] && rsync --exclude='.*.swp' -Cr $TEMPLATE_SOURCE/ $TEMPLATE_ROOT/
|