[Bugfix]modify the path in do_packdata

Change-Id: Ib1aab784c518efe3867a7b4380cccbd8088ccb39
diff --git a/meta/meta-mediatek-mt2735/recipes-core/images/mtk-image-2735.bb b/meta/meta-mediatek-mt2735/recipes-core/images/mtk-image-2735.bb
index 1310394..7f57ddd 100755
--- a/meta/meta-mediatek-mt2735/recipes-core/images/mtk-image-2735.bb
+++ b/meta/meta-mediatek-mt2735/recipes-core/images/mtk-image-2735.bb
@@ -206,8 +206,8 @@
 #xf.li 2022.11.17 modify for userdata recover start
 do_packdata() {
 	origin=$(pwd)
-	SOURCE=$(pwd)/build/tmp/deploy/images/auto2735evb-ivt-main/state
-	TARGET=$(pwd)/build/tmp/work/auto2735evb_ivt_main-poky-linux/mtk-image-2735/1.0-r0/rootfs
+	SOURCE=${TOPDIR}/tmp/deploy/images/auto2735evb-ivt-main/state
+	TARGET=${TOPDIR}/tmp/work/auto2735evb_ivt_main-poky-linux/mtk-image-2735/1.0-r0/rootfs
 	mkdir ${TARGET}/data_backup
 	cd ${SOURCE}
 	tar -czvf ${TARGET}/data_backup/userdata.tar.gz *