From d9bcde8a4d5395484c064fff2247e9709ac8b7dc Mon Sep 17 00:00:00 2001 From: Gregory Haynes Date: Wed, 1 Apr 2015 20:33:17 +0000 Subject: [PATCH] Export image properties Some elements (such as the manifests element) want to use these variables. We currently do not consistently export them (IMAGE_NAME is only exported if you actually specify a name). Change-Id: I43d17ddcdd7d0ff3cbb4c530caeebb8da915f4ef --- lib/img-defaults | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/img-defaults b/lib/img-defaults index 314195153..536d1857c 100644 --- a/lib/img-defaults +++ b/lib/img-defaults @@ -18,5 +18,5 @@ source $_LIB/common-defaults FS_TYPE=${FS_TYPE:-ext4} # Used to set the file extension only at this stage. -IMAGE_TYPE=${IMAGE_TYPE:-qcow2} -IMAGE_NAME=${IMAGE_NAME:-image} +export IMAGE_TYPE=${IMAGE_TYPE:-qcow2} +export IMAGE_NAME=${IMAGE_NAME:-image}