From 973d39642b11b1d9917f39293f7bddba8e673e5e Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 16 Feb 2016 09:23:18 +0000 Subject: [PATCH] quickstart: Fix CPIO download URL The URL can't include $PWD --- quickstart.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/quickstart.sh b/quickstart.sh index 995da33..25d092a 100755 --- a/quickstart.sh +++ b/quickstart.sh @@ -175,8 +175,9 @@ bootloader() cpio() { # Pre-built userspace - CPIO=$PWD/Stm32_mini_rootfs.cpio - if [ ! -f Stm32_mini_rootfs.cpio ]; then + CPIO=Stm32_mini_rootfs.cpio + CPIO_FILE=$PWD/$CPIO + if [ ! -f $CPIO ]; then echo "###################################################" echo "Downloading a pre-built userspace CPIO (RAMFS)" echo "###################################################" @@ -210,7 +211,7 @@ kernel() --set-val INITRAMFS_ROOT_UID 0 \ --set-val INITRAMFS_ROOT_GID 0 \ --enable BLK_DEV_INITRD \ - --set-str INITRAMFS_SOURCE $CPIO \ + --set-str INITRAMFS_SOURCE $CPIO_FILE \ --enable RD_GZIP \ --enable INITRAMFS_COMPRESSION_GZIP make $CFLAGS