From 8b46b7544c1492306abc0176c6a742637ddb0b7f Mon Sep 17 00:00:00 2001 From: Charles Cross Date: Mon, 2 May 2016 14:15:42 -0700 Subject: [PATCH] Made fix to create-image script. Create rpi/images dir before using dd --- create-image.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/create-image.sh b/create-image.sh index 300dd03..4b20210 100755 --- a/create-image.sh +++ b/create-image.sh @@ -51,8 +51,6 @@ echo "Creating image using rootfs in: ${work_path}" bootsize="64M" deb_release="jessie" -mkdir -p rpi - # define destination folder where created image file will be stored buildenv="${PWD}/rpi" @@ -63,6 +61,7 @@ bootfs="${buildenv}/boot" today=`date +%Y%m%d` mkdir -p ${buildenv} +mkdir -p ${buildenv}/images # Construct image name image="${buildenv}/images/${IMAGE_NAME}_${deb_release}_${today}.img"