Skip to content

Commit

Permalink
quickstart: Fix CPIO download URL
Browse files Browse the repository at this point in the history
The URL can't include $PWD
  • Loading branch information
kbingham committed Feb 16, 2016
1 parent c486b02 commit 973d396
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "###################################################"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 973d396

Please sign in to comment.