Made fix to create-image script. Create rpi/images dir before using dd
This commit is contained in:
parent
4dc06c7f7c
commit
8b46b7544c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user