From 7d4ffbbf38e9bbba54b3c815efdea4d2cd2b5e48 Mon Sep 17 00:00:00 2001 From: Zach Pfeffer Date: Fri, 22 Feb 2013 13:29:26 -0600 Subject: placeramdisk: function to position a prebuilt ramdisk Signed-off-by: Zach Pfeffer --- tools.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools.sh b/tools.sh index c1c15bf..fb43607 100644 --- a/tools.sh +++ b/tools.sh @@ -61,6 +61,14 @@ function untarboot() { tar -jxvf out/target/product/vexpress/boot.tar.bz2 } +function placeramdisk() { + if [ ! -e boot/ramdisk.img ]; then + echo "Run untarbuiltboot" + fi + mkdir -p out/target/product/vexpress/ + cp -af boot/ramdisk.img out/target/product/vexpress/ +} + function untarbuiltboot() { tar -jxvf boot.tar.bz2 } -- cgit v1.2.3