Read image version from the MANIFEST.

According to Patrick, all information regarding the
image must be read from the MANIFEST, such as version.
Also we must never open/read pnor.toc.

Change-Id: Icf9f83f9ec055de21e2cf13e4ab4ab4afafc2af7
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/generate-squashfs b/generate-squashfs
index e85cc87..11f0abc 100755
--- a/generate-squashfs
+++ b/generate-squashfs
@@ -104,7 +104,7 @@
 
 echo "Creating MANIFEST for the image"
 manifest_location="${scratch_dir}/MANIFEST"
-echo -e "purpose: host\nversion: $version" >> $manifest_location
+echo -e "purpose=host\nversion=$version" >> $manifest_location
 
 echo "Generating tarball to contain the SquashFS image and its MANIFEST"
 tar -cvf $outfile $manifest_location ${scratch_dir}/pnor.xz.squashfs