[Feature]add MT2731_MP2_MR2_SVN388 baseline version

Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/meta/meta-mediatek/classes/monitor-rootfs.bbclass b/meta/meta-mediatek/classes/monitor-rootfs.bbclass
new file mode 100644
index 0000000..a81daa2
--- /dev/null
+++ b/meta/meta-mediatek/classes/monitor-rootfs.bbclass
@@ -0,0 +1,16 @@
+inherit deploy

+

+rootfs_monitor() {

+    find ${IMAGE_ROOTFS} -type f -size +50k -print0 | xargs -0 du -h | sort -nr > ${IMAGE_ROOTFS}/rootfs_monitor.txt

+}

+

+do_deploy () {

+    install -d ${DEPLOYDIR}

+    cp ${IMAGE_ROOTFS}/rootfs_monitor.txt  ${DEPLOYDIR}

+}

+

+addtask deploy before do_mtdverity_for_rootfs after do_image_complete

+

+ROOTFS_POSTPROCESS_COMMAND += " rootfs_monitor;"

+

+