Add PNOR extended version to the SquashFS image

Resolves openbmc/openbmc#1355

Change-Id: I3e9ff4752f03ced5bd3a1a8d33d14fffa5efdaf3
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/generate-squashfs b/generate-squashfs
index 4c53290..c23d5fd 100755
--- a/generate-squashfs
+++ b/generate-squashfs
@@ -54,6 +54,8 @@
 {
   version=$(head -n 1 ${scratch_dir}/VERSION)
   echo "version=$version"
+  extended_version=$(echo $(tail -n +2 ${scratch_dir}/VERSION)|tr ' ' ',')
+  echo "extended_version=$extended_version"
   while read line; do
     if [[ $line == "ID="* ]]; then
         # This line looks like