diff --git a/bin/disk-image-create b/bin/disk-image-create index 2f5be026..0c9c4e48 100755 --- a/bin/disk-image-create +++ b/bin/disk-image-create @@ -79,6 +79,8 @@ source $_LIB/img-defaults source $_LIB/common-functions source $_LIB/img-functions +IMAGE_NAME=${IMAGE_NAME%%\.${IMAGE_TYPE}} + IMAGE_ELEMENT=$($SCRIPT_HOME/element-info --expand-dependencies $IMAGE_ELEMENT) echo "Building elements: $IMAGE_ELEMENT"