8d1ce9c0c3
Ramdisks are now built inside a chroot which is built by the normal image build process. Doing so improves our independence of the precise state of the build host. This fixes bug 1194055. Change-Id: Ibc254fbb9e7b404b5f38c1b35bcde8a4136e8e28
15 lines
324 B
Bash
Executable File
15 lines
324 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
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
|
|
|