[Feature]add MT2731_MP2_MR2_SVN388 baseline version

Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/meta/meta-mediatek/classes/pack-update-zip.bbclass b/meta/meta-mediatek/classes/pack-update-zip.bbclass
new file mode 100755
index 0000000..87beac9
--- /dev/null
+++ b/meta/meta-mediatek/classes/pack-update-zip.bbclass
@@ -0,0 +1,17 @@
+IMAGE_PATH = "${DEPLOY_DIR_IMAGE}"
+IMAGE_LIST = "${IMAGE_PATH}/tee.img  \
+              ${IMAGE_PATH}/boot.img  \
+              ${IMAGE_PATH}/system.ext4 \
+              ${IMAGE_PATH}/system.ubi \
+              ${IMAGE_PATH}/recovery.ext4 \
+              ${IMAGE_PATH}/recovery.ubi \
+              ${IMAGE_PATH}/chrome.ext4 \
+              ${IMAGE_PATH}/chrome.ubi "
+DEPENDS += "zip-native"
+
+do_packing_images_post_funcs() {
+        zip -j ${IMAGE_PATH}/update.zip ${IMAGE_LIST}
+}
+
+addtask packing_images_post_funcs after do_image_qa before do_build
+