diskimage-builder/elements/ramdisk/extra-data.d/01-inject-ramdisk-build-files
Gonéri Le Bouder ea3f4dd459 4 spaces indent
ensure 4 spaces indentation is used everywhere.

Change-Id: Ieb48faacb4c96b7b358771d70c17f2f22d0354f4
2014-05-10 11:17:29 +02:00

15 lines
337 B
Bash
Executable File

#!/bin/bash
set -eux
set -o pipefail
export RAMDISK_BUILD_PATH="$TMP_MOUNT_PATH/tmp/ramdisk-build"
mkdir -p $RAMDISK_BUILD_PATH
for file in common-defaults common-functions ramdisk-defaults ramdisk-functions img-defaults img-functions ; do
cp $_LIB/$file $RAMDISK_BUILD_PATH
done
cp -r $(dirname $0)/scripts $RAMDISK_BUILD_PATH